[zeromq-dev] Thread-safe sockets (cont.)

Pieter Hintjens ph at imatix.com
Thu Feb 16 22:51:24 CET 2012


Hi,

Does anyone have a valid use case for thread-safe sockets? It seems
that the semantics are fuzzy and using this would lead to poor design.
What happens if two threads are polling the same sockets, but one
message arrives? What if two threads are in a blocking recv on the
same socket?

If we don't have a clear problem that this change is fixing, I'd like
to patch it out.

-Pieter



More information about the zeromq-dev mailing list