On Wednesday, February 01, 2012 10:15:10 AM MinRK wrote:
> > Is this a python peculiarity regarding signal handling?  How are people
> > doing
> > clean shutdowns on ctrl-c with python?
> 
> It's a general Python issue.  Python + Threads + Signals = mess.
> 
> From the signal doc <http://docs.python.org/library/signal.html>:
> 
> only the main thread can set a new signal handler, and the main thread will
> be the only one to receive signals (this is enforced by the
> Python signal module, even if the underlying thread implementation supports
> sending signals to individual threads)

Bummer.  Poller and non-blocking writes it is, I guess...

Justin
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to