[zeromq-dev] Possible zpoller issue

Justin Azoff justin.azoff at gmail.com
Sat Sep 16 16:53:59 CEST 2017


On Sat, Sep 16, 2017 at 1:55 AM, Luca Boccassi <luca.boccassi at gmail.com> wrote:
> On Sat, 2017-09-16 at 10:02 +0300, Doron Somech wrote:
>> I'm guessing you are building libzmq from master including draft?
>>
>> I think the return value from zmq_poller_wait changed to EAGAIN on
>> time
>> out. CZMQ is still checking for ETIMEDOUT. We should fix CZMQ to
>> check for
>> either.
>>
>> https://github.com/zeromq/czmq/blob/master/src/zpoller.c#L233
>
> https://github.com/zeromq/czmq/pull/1760
>

Looks good!

$ ./poll
D: 17-09-16 09:50:09 Polling...
D: 17-09-16 09:50:12 Done.
D: 17-09-16 09:50:12 zpoller_wait() is null
D: 17-09-16 09:50:12 zpoller_expired() is true
D: 17-09-16 09:50:12 zpoller_terminated() is false

-- 
- Justin



More information about the zeromq-dev mailing list