mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +08:00
Add note about thread-safety to zmq_msg_init_data() manpage.
Signed-off-by: Robert G. Jakabosky <bobby@sharedrealm.com>
This commit is contained in:
parent
54ea458f62
commit
2c7af35827
@ -28,6 +28,9 @@ supplied to _zmq_msg_init_data()_.
|
||||
CAUTION: Never access 'zmq_msg_t' members directly, instead always use the
|
||||
_zmq_msg_ family of functions.
|
||||
|
||||
CAUTION: The deallocation function 'ffn' needs to be thread-safe, since it
|
||||
will be called from an arbitrary thread.
|
||||
|
||||
CAUTION: The functions _zmq_msg_init()_, _zmq_msg_init_data()_ and
|
||||
_zmq_msg_init_size()_ are mutually exclusive. Never initialize the same
|
||||
'zmq_msg_t' twice.
|
||||
|
Loading…
x
Reference in New Issue
Block a user