diff tests/test-hgweb-json.t @ 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 7fa011555046
children 66cffa87d2f2
line wrap: on
line diff