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

Martin Sustrik sustrik at 250bpm.com
Sun Jun 19 20:21:17 CEST 2011


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