On Thu, Jan 3, 2013 at 1:03 AM, Joshua Foster <jhaw...@gmail.com> wrote:
> The mutex is "required" because it guarantees that it is only used by a > single thread at a time. ZMQ has assertions that will cause your > application to crash if you access a socket between two threads > concurrently. > > It's not the assertions that cause the application to crash. It's data corruption caused by accessing the same data from multiple threads. The assertions catch the corruption and kill the application because continuing with corrupted data would be pathological. -Pieter
_______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev