[zeromq-dev] zmq_poll long timeout parameter

Pieter Hintjens ph at imatix.com
Thu Mar 29 22:24:20 CEST 2012

On Thu, Mar 29, 2012 at 3:01 PM, Thiago Cangussu <cangussu at gmail.com> wrote:

> 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?

Ask these questions when evaluating change:

* What problem does this change solve?
* Did any user actually hit this problem?
* Is fixing this problem worth the effort?
* Does this break an API and is that worth it?


More information about the zeromq-dev mailing list