On 10/11/2010 06:22 PM, Pieter Hintjens wrote:
> On Mon, Oct 11, 2010 at 5:41 PM, Martin Sustrik<sust...@250bpm.com>  wrote:
>
>>> For case 3 it should IMO either 'just work' when the socket is created
>>> but never used in the parent thread (doing an implicit memory barrier
>>> after creation, for example).
>>
>> +1
>
> Does this mean 0MQ will do/does already do a memory barrier after
> creating a socket?

No. But pthread_create does. Actually, in most cases you don't need to 
do anything. The infrastructure you are operating in (such as language 
VM) executes the barrier for you.

Martin
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to