[zeromq-dev] Using shared objects as clients
Pieter Hintjens
ph at imatix.com
Wed Nov 28 04:43:57 CET 2012
On Wed, Nov 28, 2012 at 4:32 AM, Brad Taylor <cbradtaylor at gmail.com> wrote:
> Thus in the same thread, or in multiple threads, we want to be able to invoke zmq client code. Since zmq requires a context, I am planning on each client service to get its own zmq context. I am unsure if this will cause any potential conflicts within zmq.
Sounds fine, as long as you're aware that when you destroy a context
you can get message loss.
Also, each context will create at least one i/o thread.
-Pieter
More information about the zeromq-dev
mailing list