On 08/02/12 19:15, Gary Wright wrote:
>
> On Feb 8, 2012, at 10:25 AM, john skaller wrote:
>> Interesting things is .. all this fuss about thread-safety .. and actually,
>> these atomic ops are used in the msg_t functions .. the ones least
>> likely to span thread boundaries :)
>
> Perhaps they traverse threads when messages are sent across the inproc 
> transport?
>
> Wild guess without looking at the code...

Every message travrses a thread boundary. For messages sent through 
inproc if follows directly from the definition of inproc. For other 
transport, TCP and alike, message traverses between application's thread 
and the I/O worker thread inside 0MQ.

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to