-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGCHLD side effects #10
Comments
Alternatively we should abandon |
Yeah, that's bad.
That's fine with me, I can write a wrapper. |
Actuall are you sure zombies are a problem in the first place? At least on OSX: for(i in 1:100) print(exec_background('whoami')) I am not seeing zombies in |
How does the parallel SIGCHLD handler avoid this problem? |
Ah I see it now. mcparallel keep track of a list of children that were spawned and only cleans up those. |
I have added a @gaborcsardi can you check if I still need to implement this for windows btw. |
Our
SIGCHLD
handler cleans child processes before the parent can get to the exit code. This affects all subprocesses:However after sys is loaded the exit code is always 0:
This is bad. We should find a way to mark a child spawned by
sys
and only clean up these processes in our SIGCHLD handler.The text was updated successfully, but these errors were encountered: