[zeromq-dev] random crashes on zmq_ctx_term() when there is a monitored socket

Peter Kleiweg pkleiweg at xs4all.nl
Sun Nov 16 22:19:41 CET 2014


Chris Laws schreef op de 17e dag van de slachtmaand van het jaar 2014:

> To close the monitor socket you need to call the monitor function again but
> pass a NULL in the address field.
> 
> The call looks something like this...
> 
> rc = zmq_socket_monitor(sock_handle, c_addr, c_flags);
> 
> Set c_addr to NULL and c_flags to 0.

I tried that. I get more crashes than before. 



-- 
Peter Kleiweg
http://pkleiweg.home.xs4all.nl/



More information about the zeromq-dev mailing list