Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
8ba1d3c8
Commit
8ba1d3c8
authored
Jun 01, 2010
by
Martin Lucina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation: zmq_term() and ETERM for 2.0.7
parent
74a03dfd
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
11 deletions
+21
-11
zmq_bind.txt
doc/zmq_bind.txt
+1
-1
zmq_connect.txt
doc/zmq_connect.txt
+1
-1
zmq_getsockopt.txt
doc/zmq_getsockopt.txt
+0
-1
zmq_poll.txt
doc/zmq_poll.txt
+2
-4
zmq_setsockopt.txt
doc/zmq_setsockopt.txt
+0
-1
zmq_term.txt
doc/zmq_term.txt
+17
-3
No files found.
doc/zmq_bind.txt
View file @
8ba1d3c8
...
...
@@ -55,7 +55,7 @@ The requested 'address' was not local.
*ENODEV*::
The requested 'address' specifies a nonexistent interface.
*ETERM*::
The
associated context was termin
ted.
The
0MQ 'context' associated with the specified 'socket' was termina
ted.
EXAMPLE
...
...
doc/zmq_connect.txt
View file @
8ba1d3c8
...
...
@@ -53,7 +53,7 @@ The requested 'transport' protocol is not supported.
*ENOCOMPATPROTO*::
The requested 'transport' protocol is not compatible with the socket type.
*ETERM*::
The
associated context was termin
ted.
The
0MQ 'context' associated with the specified 'socket' was termina
ted.
EXAMPLE
...
...
doc/zmq_getsockopt.txt
View file @
8ba1d3c8
...
...
@@ -199,7 +199,6 @@ The requested option _option_name_ is unknown, or the requested _option_len_ or
_option_value_ is invalid, or the size of the buffer pointed to by
_option_value_, as specified by _option_len_, is insufficient for storing the
option value.
*ETERM*::
The 0MQ 'context' associated with the specified 'socket' was terminated.
...
...
doc/zmq_poll.txt
View file @
8ba1d3c8
...
...
@@ -93,11 +93,9 @@ ERRORS
*EFAULT*::
At least one of the members of the 'items' array refers to a 'socket' belonging
to a different application thread.
*ENOTSUP*::
At least one of the members of the 'items' array refers to a 'socket' whose
associated 0MQ 'context' was initialised without the 'ZMQ_POLL' flag.
*ETERM*::
The associated context was terminted.
At least one of the members of the 'items' array refers to a 'socket' whose
associated 0MQ 'context' was terminated.
EXAMPLE
...
...
doc/zmq_setsockopt.txt
View file @
8ba1d3c8
...
...
@@ -213,7 +213,6 @@ ERRORS
*EINVAL*::
The requested option _option_name_ is unknown, or the requested _option_len_ or
_option_value_ is invalid.
*ETERM*::
The 0MQ 'context' associated with the specified 'socket' was terminated.
...
...
doc/zmq_term.txt
View file @
8ba1d3c8
...
...
@@ -16,9 +16,23 @@ DESCRIPTION
-----------
The _zmq_term()_ function terminates the 0MQ context 'context'.
If there are still sockets open within 'context' at the time _zmq_term()_ is
called the call will succeed but the actual shutdown of 'context' will be
delayed until the last socket within it is closed.
If there are no longer any sockets open within 'context' at the time
_zmq_term()_ is called then 'context' shall be shut down and all associated
resources shall be released immediately.
Otherwise, the following applies:
* The _zmq_term()_ function shall return immediately.
* Any blocking operations currently in progress on sockets open within
'context' shall return immediately with an error code of ETERM.
* With the exception of _zmq_close()_, any further operations on sockets open
within 'context' shall fail with an error code of ETERM.
* The actual shutdown of 'context', and release of any associated resources,
*shall be delayed* until the last socket within it is closed with
_zmq_close()_.
RETURN VALUE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment