Re: [Twisted-Python] signalfd

2010-11-17 Thread James Y Knight
On Nov 17, 2010, at 10:40 AM, Neal Becker wrote: > One more piece seems available: > > http://code.google.com/p/python-atfork/ Nope, that's not a "real" atfork: it only monkey-patches python's os.fork() function, so it doesn't catch any fork done by C code. So it's not good enough. (but of cou

Re: [Twisted-Python] signalfd

2010-11-17 Thread Neal Becker
One more piece seems available: http://code.google.com/p/python-atfork/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] signalfd

2010-11-03 Thread James Y Knight
On Nov 3, 2010, at 10:23 PM, exar...@twistedmatrix.com wrote: > On 01:45 am, ndbeck...@gmail.com wrote: >> On modern linux, signalfd can be used to convert sigchld into an event >> on a >> file descriptor. Looks like just what is wanted for processProtocol. > > It does, indeed. I'm not sure it'

Re: [Twisted-Python] signalfd

2010-11-03 Thread exarkun
On 01:45 am, ndbeck...@gmail.com wrote: >On modern linux, signalfd can be used to convert sigchld into an event >on a >file descriptor. Looks like just what is wanted for processProtocol. It does, indeed. I'm not sure it's really worth bothering though. Here are the drawbacks of using signalf