[zeromq-dev] Whcih API calls are thread safe ?

Martin Sustrik sustrik at 250bpm.com
Mon Jan 23 00:53:13 CET 2012


On 22/01/12 17:02, john skaller wrote:

> YMMV .. but in my plan, moving sockets across thread boundaries
> is mandatory .. in fact the whole async/IO paradigm is based on it.

Yes. Many bindings do that. For example when  when passing a socket to 
the garbage collector.

It's an functionality for expert users though. I believe it's good that 
guide just says "don't do it".

If you believe there should be more said in the reference, feel free to 
propose a patch.

Martin



More information about the zeromq-dev mailing list