[zeromq-dev] Can ZeroMQ clients function within a single thread only?
serefarikan at gmail.com
Mon Feb 18 11:48:57 CET 2013
Apologies on behalf of Gmail being a bit too smart and sending my e-mail
before it was complete! Here is the rest of my mail:
ZeroMQ can help me mimic multi-threading if I can send asynchronous
messages to a server process and wait for the results from within my
function(s), but this requires that ZeroMQ's asynchronous sockets do not
create any other threads. Looking at the architecture doc, I'm a bit
confused about how asynchronous messaging is implemented, since it mentions
threads created to send/receive messages.
Using asynchronous I/O over networking would (possibly?) allow me to send
messages without creating threads, but I'm not sure if this is what ZeroMQ
On Mon, Feb 18, 2013 at 10: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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev