[zeromq-dev] External Event Loop

Praveen Baratam praveen.baratam at gmail.com
Sat Dec 25 19:17:11 CET 2010


Merry Christmas to ZeroMQ team!

On 22 Dec 2010 16:57, "Praveen Baratam"
<praveen.baratam+zmq at gmail.com<praveen.baratam%2Bzmq at gmail.com>>
wrote:

Hello Martin,

Thanks for the feed back.

Attached to this email is a minimal testcase with out any dependencies that
reproduces the problem. Most of the code follows the implementation of*
zmq_poll* in 2.1 branch.

Even the poll call inside zmq_poll is not returning any events on the fds
when observed in a debugger.

In the test case, if the poll call is supplied a timeout, then we iterate
over all the sockets for events using zmq_getsockopt and ZMQ_EVENTS after
the poll call times out and process those events. If its supplied an
infinite timeout (-1) then the main loop halts there and the poll call never
returns.

It accurately reproduces the problem with ZMQ_FD.

Please look into it.

Thank you,

Dr. Praveen Baratam





On Sat, Dec 18, 2010 at 2:28 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:
>
> Hi Praveem,
>
>
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101225/1ff14b25/attachment.htm>


More information about the zeromq-dev mailing list