in reply to Re^3: Passing sockets between segregated threads
in thread Passing sockets between segregated threads

You were right...see my update to the OP.

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).

  • Comment on Re^4: Passing sockets between segregated threads

Replies are listed 'Best First'.
Re^5: Passing sockets between segregated threads
by BrowserUk (Patriarch) on Oct 20, 2005 at 18:03 UTC

    Ah! That explains it :)


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.