[zeromq-dev] Can ZeroMQ clients function within a single thread only?
ph at imatix.com
Mon Feb 18 11:45:39 CET 2013
Can you explain the actual reason that you're constrained to using a
single thread? The short answer is no, you always need multiple
threads to use 0MQ. The longer answer is that if your environment is
very constrained you can write your own TCP code that can talk to 0MQ
networks. There are examples here:
https://github.com/hintjens/zmtplib. However you're going to lose
everything except basic message send/recv functionality.
On Mon, Feb 18, 2013 at 11:39 AM, Seref Arikan
<serefarikan at kurumsalteknoloji.com> wrote:
> I tried to use the shortest possible subject for my question, but it will
> take some explaining:
> I am writing code in a setting where I can write functions that are called
> from an executing OS thread. The setting requires that my functions are
> executed in the calling thread, and they never, ever create another thread.
> So all is strictly single threaded.
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
More information about the zeromq-dev