mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 12:36:23 +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
C
89%
Perl
6.7%
Assembly
1.4%
JavaScript
0.8%
Makefile
0.6%
Other
1.4%