On Tue, Sep 21, 2010 at 8:39 AM, Martin Lucina <m...@kotelna.sk> wrote:

> Um, fork() is orthogonal to any 0MQ contexts. fork() creates a completely
> new process, so if that process created any contexts before the fork()
> those are now also present in the child.

Yes, of course...  I'm not sure why I thought contexts would somehow be special.

> In general if you're using fork() you want to do all the interesting stuff
> in the children and the parent just manages those processes.

That's a nice pattern, I'll document it.

-
Pieter Hintjens
iMatix - www.imatix.com
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to