Oliver, > Recently upgraded from an earlier 2.x (2.0.7 I think) to 2.1.0. I > immediately ran into an unusual problem under Linux where my unit test > module passed all tests but then failed to terminate. > > The test unit keeps getting stuck with this backtrace, apparently in the > destructor for a static zmq::context being destroyed at shutdown. >
Version 2.1 has new shutdown semantics. zmq_term waits till all pending outgoing messages are sent. Given that you close the receiving socket so fast that the sending socket has no chance to send your message, termination of sender's context waits till the pending message can be sent. Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
