[zeromq-dev] [PATCH] Improved response to socket violations

Martin Sustrik sustrik at 250bpm.com
Fri May 20 18:00:12 CEST 2011

On 05/20/2011 05:50 PM, Martin Lucina wrote:

> If we have a problem with users using sockets from multiple threads then
> the documentation needs to stress that they not do that. If they do it
> anyway, too bad for them!

The problem is that using single socket from mutliple threads can cause 
basically any error, whether assertion, segfault or whatever. Singling 
this one out doesn't make much sense. Moreover, as Mato points out, the 
assertion can happen because of limited OS resources, in which case the 
message would be misleading.


More information about the zeromq-dev mailing list