Skip to content
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

os/exec: don't use a thread to wait on processes #15103

Open
bradfitz opened this issue Apr 4, 2016 · 2 comments
Open

os/exec: don't use a thread to wait on processes #15103

bradfitz opened this issue Apr 4, 2016 · 2 comments
Milestone

Comments

@bradfitz
Copy link
Contributor

bradfitz commented Apr 4, 2016

See moby/moby#11529

There's no reasons why Docker should have to work around the standard library to reduce their thread count with large numbers of processes.

We could make os/exec.Cmd.Wait efficient instead.

/cc @ianlancetaylor

@bradfitz bradfitz changed the title os/exec: don os/exec: don't use a thread to wait on processes Apr 4, 2016
@bradfitz bradfitz added this to the Unplanned milestone Apr 4, 2016
@robpike
Copy link
Contributor

robpike commented Apr 4, 2016

Do "modern" systems have anything like Plan 9's wait file? http://plan9.bell-labs.com/magic/man2html/3/proc

@minux
Copy link
Member

minux commented Apr 4, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants