[zeromq-dev] zmq_poll long timeout parameter

Thiago Cangussu cangussu at gmail.com
Thu Mar 29 22:01:11 CEST 2012


Hi all,

Sorry if this was already discussed, but I was wondering about the long
timeout parameter in zmq_poll. The timeout value is used to call
POSIX usleep (zmq.cpp), which uses unsigned int. AFAIK, int and long have
different sizes in 64bit platforms. Crossroads changed the parameter to
int [1], conforming to the POSIX poll(). Any thoughts?

https://github.com/crossroads-io/libxs/commit/b871611cc36eaaf740a5c8f476cf53fe40299eb3

Regards,
Thiago Cangussu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120329/792e70d6/attachment.htm>


More information about the zeromq-dev mailing list