[zeromq-dev] [PATCH] Race condition in eventfd signaler fixed

Martin Sustrik sustrik at 250bpm.com
Sun Jul 3 22:32:59 CEST 2011


On 07/03/2011 09:41 PM, Paul Colomiets wrote:

> Thanks for the explanation, it seems pretty sane now. But does the statement
> above mean that you are going to turn ZMQ_FD to level triggering?

Unfortunately, no. It works the same way as before.

The thing is that while mailbox is level-triggered for commands (reports 
POLLIN if there's a command available), it's edge-triggered for messages 
(while the consumer is active, there's no command in the mailbox; once 
it gets into the passive state, one-off "activate" command is sent to 
resume the receiving).

Martin





More information about the zeromq-dev mailing list