[zeromq-dev] Race condition in tcp_socket_t

Martin Sustrik sustrik at 250bpm.com
Fri Nov 12 21:09:35 CET 2010


On 11/12/2010 08:59 PM, Christian Gudrian wrote:
>
> Am 12.11.2010 um 20:04 schrieb Martin Sustrik:
>
>> I've checked your backtraces. All of them look OK.
>
> I'm confused now. I thought concurrent access from multiple threads to one particular instance of tcp_socket_t was unexpected.

No, for intstance with bound socket, tcp_socekt can be created by 
listener object in thread 1, initialisation handshake can done in 
zmq_init object (thread2) and normal operation happens in thread 3.

Martin




More information about the zeromq-dev mailing list