summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert G. Jakabosky <bobby@sharedrealm.com>2011-04-03 20:44:02 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-04-03 20:44:02 +0200
commit2c7af35827863b1e0a167298140a38180980502c (patch)
tree7360d877164e9e305d7745bb50783c81b67271b9 /doc
parent54ea458f629cc380440e1a349ecf572eed2ecbd4 (diff)
Add note about thread-safety to zmq_msg_init_data() manpage.
Signed-off-by: Robert G. Jakabosky <bobby@sharedrealm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/zmq_msg_init_data.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/zmq_msg_init_data.txt b/doc/zmq_msg_init_data.txt
index 8378757..a36787c 100644
--- a/doc/zmq_msg_init_data.txt
+++ b/doc/zmq_msg_init_data.txt
@@ -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.