How to "signal" interested child processes (without signals)?

Posted by Teddy on Stack Overflow See other posts from Stack Overflow or by Teddy
Published on 2010-05-10T17:39:36Z Indexed on 2010/05/10 17:44 UTC
Read the original article Hit count: 339

Filed under:
|
|
|

I'm trying to find a good and simple method to signal child processes (created through SocketServer with ForkingMixIn) from the parent process.

While Unix signals could be used, I want to avoid them since only children who are interested should receive the signal, and it would be overkill and complicated to require some kind of registration mechanism to identify to the parent process who is interested.

(Please don't suggest threads, as this particular program won't work with threads, and thus has to use forks.)

© Stack Overflow or respective owner

Related posts about python

Related posts about signals