summaryrefslogtreecommitdiff
path: root/doc/zmq_msg_init_data.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/zmq_msg_init_data.3')
-rw-r--r--doc/zmq_msg_init_data.322
1 files changed, 19 insertions, 3 deletions
diff --git a/doc/zmq_msg_init_data.3 b/doc/zmq_msg_init_data.3
index b89821f..c042a87 100644
--- a/doc/zmq_msg_init_data.3
+++ b/doc/zmq_msg_init_data.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_init_data
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_MSG_INIT_DATA" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_MSG_INIT_DATA" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -68,6 +68,22 @@ Never access \fIzmq_msg_t\fR members directly, instead always use the \fIzmq_msg
.ps -1
.br
.sp
+The deallocation function \fIffn\fR needs to be thread\-safe, since it will be called from an arbitrary thread\&.
+.sp .5v
+.RE
+.if n \{\
+.sp
+.\}
+.RS 4
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.br
+.ps +1
+\fBCaution\fR
+.ps -1
+.br
+.sp
The functions \fIzmq_msg_init()\fR, \fIzmq_msg_init_data()\fR and \fIzmq_msg_init_size()\fR are mutually exclusive\&. Never initialize the same \fIzmq_msg_t\fR twice\&.
.sp .5v
.RE