_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.
Loading
Please register or sign in to comment