On 23/01/2012, at 10:53 AM, Martin Sustrik wrote: > 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.
Well I think the reference is clear on that point: ZMQ does not provide any synchronisation for sockets. It does provide synchronisation for contexts. Also worth noting: people writing multi-threaded network applications are typically not average website designers, I wouldn't underestimate their expertise. Even with 0MQ some of the applications are pretty hairy :) -- john skaller [email protected] _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
