Merge pull request #2290 from bluca/doc_proxy_eintr

Problem: zmq_proxy* may return EINTR other than ETERM
This commit is contained in:
Constantin Rack 2017-01-03 21:21:11 +01:00 committed by GitHub
commit d532f2e4d8
2 changed files with 6 additions and 4 deletions

View File

@ -63,8 +63,9 @@ of workers using the pipeline pattern.
RETURN VALUE
------------
The _zmq_proxy()_ function always returns `-1` and 'errno' set to *ETERM* (the
0MQ 'context' associated with either of the specified sockets was terminated).
The _zmq_proxy()_ function always returns `-1` and 'errno' set to *ETERM* or
*EINTR* (the 0MQ 'context' associated with either of the specified sockets was
terminated).
EXAMPLE

View File

@ -38,8 +38,9 @@ cf zmq_proxy
RETURN VALUE
------------
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
0MQ 'context' associated with either of the specified sockets was terminated).
control socket. Otherwise, it returns `-1` and 'errno' set to *ETERM* or
*EINTR* (the 0MQ 'context' associated with either of the specified sockets was
terminated).
EXAMPLE