in reply to Re^3: Passing sockets between segregated threads
in thread Passing sockets between segregated threads
I forgot that TQD::enqueue() doesn't block, TQD::enqueue_and_wait() does...which also explains my original issue, which relies on Thread::Apartment (also based on TQD) and was using a simplex method to pass the fileno over to the worker thread (simplex methods use nonblocking enqueue_simplex(), rather than enqueue_and_wait(), for the RPC to the apt. threaded object).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Passing sockets between segregated threads
by BrowserUk (Patriarch) on Oct 20, 2005 at 18:03 UTC |