Skip to content

Commit dba4ef2

Browse files
committed
Problem: zmq_close manpage does not say it's asynchronous
Solution: clarify it since it's a common source of confusion
1 parent 9f2f30b commit dba4ef2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

doc/zmq_close.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ NOTE: The default setting of _ZMQ_LINGER_ does not discard unsent messages;
2929
this behaviour may cause the application to block when calling _zmq_ctx_term()_.
3030
For details refer to linkzmq:zmq_setsockopt[3] and linkzmq:zmq_ctx_term[3].
3131

32+
NOTE: This API will complete asynchronously, so not everything will be deallocated
33+
after it returns. See above for details about linger.
34+
3235

3336
RETURN VALUE
3437
------------

0 commit comments

Comments
 (0)