[zeromq-dev] [PATCH] Session termination error fixed

Fabien Niñoles fabien.ninoles at gmail.com
Sun Jun 19 20:22:54 CEST 2011


Good to know,

Thanks,
Fabien

2011/6/19, Martin Sustrik <sustrik at 250bpm.com>:
> On 06/19/2011 08:16 PM, Fabien Niñoles wrote:
>> So, are we still having a race condition, like when a linger timeout
>> occur at the same time as a pipe is attached ?  It seems to me that
>> this can happen in two different threads
>
> Nope. Almost all the 0mq code (except for pipes and some shared data in
> ctx_t) is single-threaded. This includes session_t code. No two actions
> can happen at the same time. They are always properly sequenced.
>
> Martin
>



More information about the zeromq-dev mailing list