[zeromq-dev] interrupt handling Ctrl-C
pprun
pprun.dragon at gmail.com
Thu Nov 22 09:43:33 CET 2012
Hi,
In zguide, there's description for interrupt handling,
and the comment for the help function is:
// Call s_catch_signals() in your application at startup, and then exit
// your main loop if s_interrupted is ever 1. Works especially well with
// zmq_poll.
I want to know should this function be called ONLY on main thread? Or,
it should be set on every threads, spawned by zthread_new from main thread?
thanks,
Pprun
More information about the zeromq-dev
mailing list