[zeromq-dev] Assert when debugging, but not when executing

Claudio Carbone erupter at libero.it
Wed Jan 9 19:00:07 CET 2013


Here is what happens

             int rc = pgm_receiver->init (udp_encapsulation, 
addr->address.c_str ());
             errno_assert (rc == 0);

udp_encapsulation is true
addr->address is "192.168.2.113;239.192.1.1:5678"

This is all exactly the same if the socket isn't created in a child 
thread but rather in the main thread.
So what am I doing wrong with threads?

Claudio



More information about the zeromq-dev mailing list