• Re: Thread question

    From saito@saitology9@gmail.com to comp.lang.tcl on Sun Feb 1 17:45:11 2026
    From Newsgroup: comp.lang.tcl

    On 2/1/2026 4:39 PM, saito wrote:
    I'd like some clarification on how threads communicate. Let's say I have
    two threads. One thread occasionally sends the other one some data for calculations (in async mode). Can it keep sending more data to the
    second one without checking to make sure the previous ones have been completed? Will they end up blocking each other or is there some
    mechanism that stacks up these back and forths?


    Responding to my own post, it turns out there is a thread event loop.
    All send commands are put into this event loop and this answers my question.

    --- Synchronet 3.21b-Linux NewsLink 1.2