From 97add1ec2f75858ee950fa19b266396147efa224 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 3 Mar 2011 12:15:08 +0100 Subject: Documentation wrt thread-safety cleaned up. Signed-off-by: Martin Sustrik --- doc/zmq_init.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/zmq_init.txt') diff --git a/doc/zmq_init.txt b/doc/zmq_init.txt index 04bbbc8..4f1def1 100644 --- a/doc/zmq_init.txt +++ b/doc/zmq_init.txt @@ -20,6 +20,11 @@ The 'io_threads' argument specifies the size of the 0MQ thread pool to handle I/O operations. If your application is using only the 'inproc' transport for messaging you may set this to zero, otherwise set it to at least one. +.Thread safety +A 0MQ 'context' is thread safe and may be shared among as many application +threads as necessary, without any additional locking required on the part of +the caller. + RETURN VALUE ------------ -- cgit v1.2.3