mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-11-30 06:12:16 +00:00
22c26a5d574bc2b7f5d973b3745e0ab44934e5fe
ForkManager records a worker in run_on_start, which runs after the fork, so a signal arriving in between reached a handler that did not know the worker. Both worker pools now hold INT, TERM and HUP across start() and release them once the parent has the pid. The wait for a free slot happens before the mask is taken, or a cancellation would stay pending for as long as the pool is full. With a single worker ForkManager does not fork at all, so only a real child drops the inherited forwarder, whose copy names siblings the parent already signals.
Description
No description provided
Languages
Perl
79.3%
JavaScript
6.3%
C
3.9%
Shell
3.1%
SQLPL
2%
Other
5.2%