Hi Daniel!

[email protected] said:
> Hi,
> 
> after upgrading my code from 2.0.10 to 2.1.4 I notice this change in 
> signal handling. Before, I used SIGINT and SIGTERM as handlers to stop 
> my processes. When I do this now, I get the $subject error, or, in more 
> detail this one:
> 
> http://friendpaste.com/7lLFEucbhPqYB65tuf9fjg
> 
> The the eventloop finishes, and my messages telling the master that the 
> worker has been stopped is never sent.
> 
> With the upgrade to 2.1 is there any other method for me doing this kind 
> of process exit?

This is to be expected and is generally for the better, see the rationale
here: (last point) http://www.zeromq.org/docs:2-1-upgrade

If you want to ignore the EINTR just restart the offending call in your
event loop.

Cheers,

-mato
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to