diff options
author | imarom <imarom@cisco.com> | 2017-02-27 14:46:46 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2017-02-27 14:49:49 +0200 |
commit | fd87764ebc8733b44bc4a43a180b635ce190a123 (patch) | |
tree | 85214d10351544328eb2f0b38effdd55bd67507b /external_libs/json | |
parent | 768b4f27f89fc4ed40c8588db3b3a751abf41d5e (diff) |
ZMQ publisher might hang if it sends a message during ctrl + c
the reason is that when calling zmq_close and zmq_term from the same
thread, zmq_close will wait for the message to be sent (but will return
the control to the calling thread)
and then zmq_ctx_destroy will hang forever
see:
https://lists.zeromq.org/pipermail/zeromq-dev/2013-September/022469.html
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'external_libs/json')
0 files changed, 0 insertions, 0 deletions