[zeromq-dev] PATCH: zmq::signaler_t should not assert on EINTR

Dhammika Pathirana dhammika at gmail.com
Fri Aug 6 08:43:36 CEST 2010


Hi,

>  -    ssize_t nbytes = send (w, &cmd_, sizeof (command_t), 0);
>  +    ssize_t nbytes;
>  +    do {
>  +        ::send (w, &cmd_, sizeof (command_t), 0);
>  +    } while (nbytes == -1 && errno == EINTR);


small typo, nbytes uninitialized.



More information about the zeromq-dev mailing list