Commit 28c7abf8 authored by Luca Boccassi's avatar Luca Boccassi

Problem: zmq_proxy* may return EINTR other than ETERM

Solution: mention this in the documentation
parent ec2ba8a9
...@@ -63,8 +63,9 @@ of workers using the pipeline pattern. ...@@ -63,8 +63,9 @@ of workers using the pipeline pattern.
RETURN VALUE RETURN VALUE
------------ ------------
The _zmq_proxy()_ function always returns `-1` and 'errno' set to *ETERM* (the The _zmq_proxy()_ function always returns `-1` and 'errno' set to *ETERM* or
0MQ 'context' associated with either of the specified sockets was terminated). *EINTR* (the 0MQ 'context' associated with either of the specified sockets was
terminated).
EXAMPLE EXAMPLE
......
...@@ -38,8 +38,9 @@ cf zmq_proxy ...@@ -38,8 +38,9 @@ cf zmq_proxy
RETURN VALUE RETURN VALUE
------------ ------------
The _zmq_proxy_steerable()_ function returns 0 if TERMINATE is sent to its The _zmq_proxy_steerable()_ function returns 0 if TERMINATE is sent to its
control socket. Otherwise, it returns `-1` and 'errno' set to *ETERM* (the control socket. Otherwise, it returns `-1` and 'errno' set to *ETERM* or
0MQ 'context' associated with either of the specified sockets was terminated). *EINTR* (the 0MQ 'context' associated with either of the specified sockets was
terminated).
EXAMPLE EXAMPLE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment