[zeromq-dev] External Event Loop

Praveen Baratam praveen.baratam+zmq at gmail.com
Wed Dec 15 21:43:39 CET 2010


Libev is a strictly Level-Triggered event loop wrapper. The author points
out that its is required for portability.

So the problem you mentioned does not arise as we are using Level-Triggered
event reactor.

Praveen

On Thu, Dec 16, 2010 at 12:08 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> Hi Praveen,
>
> I think the problem may be in the fact that the ZMQ_FD is edge-triggered,
> i.e. you get an event if you tried to read a message unsuccessfully (EAGAIN)
> and the message arrives. When second message arrives you get no event
> (unless you've tried to read it and got EAGAIN) in the meantime. Etc.
>
> Martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101216/d373c2ca/attachment.htm>


More information about the zeromq-dev mailing list