comparison tests/test-ancestor.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 945f8229b30d
children d83ca854fa21
comparison
equal deleted inserted replaced
30414:5069a8a40b1b 30415:e8fb03cfbbde