comparison tests/seq.py @ 30415:e8fb03cfbbde

worker: add a SIGCHLD handler to collect worker immediately As planned by previous patches, add a SIGCHLD handler to get notifications about worker exits, and deals with worker failure immediately. Note that the SIGCHLD handler gets unregistered before killworkers(), so SIGCHLD won't interrupt "killworkers" - making it harder to send kill signals to waited processes.
author Jun Wu <quark@fb.com>
date Sat, 12 Nov 2016 03:07:22 +0000
parents 2cd8c3b0bd11
children 08b8b56bd2e8
comparison
equal deleted inserted replaced
30414:5069a8a40b1b 30415:e8fb03cfbbde