mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 12:36:23 +00:00
476024485c
The forwarding handler was in place before the fork, but the parent recorded the worker pid after it. A signal in between reached a handler that did not know the worker, so the orchestrator died while the worker kept building for hours and held the per-architecture lock. The mask discipline run_bounded already used is now a pair of helpers, and the worker loop blocks the handled signals across both the fork and the registration. The worker resets the inherited handlers before restoring the mask.