[zeromq-dev] Help inproc impl

john skaller skaller at users.sourceforge.net
Sat Feb 11 08:26:35 CET 2012

Is there someone who understand the inproc implementation well enough
can help me work through it and try to prove the message transport is
thread safe? Offline? I'm still suspicious, but I can't follow the source
code at the moment (typical code, its hard to tell which thread executes
which functions until you know how it works .. :)

Generally, messages are not thread safe AFAICS. But it is probably only an
issue is a message got moved around between several client threads.
Since sockets aren't thread safe (by default) there's no reason to expect
you can move messages between threads in user space either:
The "right way (TM)" would be to use inproc transport.

john skaller
skaller at users.sourceforge.net

More information about the zeromq-dev mailing list