Skip to content
Commit 853c54eb authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

_scheduler/job.py: Don't mess with scheduler loop when forking

Instead of unregistering the mainloop handling of SIGTSTP, block
it (along with SIGTERM) while forking, clear the signal handlers
and then unblock them in the child process; let the parent handle
SIGTSTP after unblocking in the main process.
parent 3b447405
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment