|
Last change
on this file since 145 was 92, checked in by cinc, 19 years ago |
|
Orbit2 modified for use with NOM
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 |
|
|---|
| 2 | ** Idle I/O thread setup
|
|---|
| 3 | + Can we setup the I/O thread idly in either
|
|---|
| 4 | a) CORBA method dispatch from non-main thread
|
|---|
| 5 | or b) a servant binding with non-default policy.
|
|---|
| 6 | + This would solve our API/ABI compat issues (?)
|
|---|
| 7 |
|
|---|
| 8 | linc-connection.c
|
|---|
| 9 | + ** Emitted signals must do threadsafe object refs **
|
|---|
| 10 | + cnx deref lock -> ref count lifecycle.
|
|---|
| 11 |
|
|---|
| 12 | + always disconnecting -> disconnected ?
|
|---|
| 13 | + on read/write also take lock ...
|
|---|
| 14 | + linc_connection_wait_state change (internal?)
|
|---|
| 15 | + [ - wait for disconnected / connected etc. ? ]
|
|---|
| 16 | + write can try to write (with lock) for a bit
|
|---|
| 17 |
|
|---|
| 18 | ** TODO:
|
|---|
| 19 | + push cnx_get_status method through ORBit2
|
|---|
| 20 | + Need a linc test that certainly fills a socket
|
|---|
| 21 | buffer on write in threaded mode ...
|
|---|
| 22 |
|
|---|
| 23 | + global cross thread condition / task queue thing ?
|
|---|
| 24 | + shutdown
|
|---|
| 25 | + callback mechanism for 'broken' etc. ?
|
|---|
| 26 |
|
|---|
| 27 | ** Older thoughts:
|
|---|
| 28 | + create (linc_connection_initiate) [ take lock ]
|
|---|
| 29 | + linc_connection_state_changed [ take lock ]
|
|---|
| 30 | + assert happened in the I/O thread ...
|
|---|
| 31 | + During construction this bit hooks it into the
|
|---|
| 32 | polling loop - must be done in the main loop (!)
|
|---|
| 33 | [ or must it ? - special case for construction ? ]
|
|---|
| 34 | + signal the connections' condition ...
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.