[zeromq-dev] ZMQ_DONTWAIT and EINTR

Luca Boccassi luca.boccassi at gmail.com
Sat Jul 7 17:47:52 CEST 2018

On Sat, 2018-07-07 at 20:57 +0600, Aleksandr Mezin wrote:
> Can EINTR occur when zmq_msg_recv() is called with ZMQ_DONTWAIT flag?
> Common sense suggests that it shouldn't happen, but I can't find any
> explicit statement in the docs (and it's not clear from the code
> too).

No - messages are delivered to the application atomically.

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20180707/ed0fc138/attachment.sig>

More information about the zeromq-dev mailing list