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 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 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

Loading

@minux
Copy link
Member

@minux minux commented Apr 4, 2016

Loading

@andybons andybons self-assigned this Feb 9, 2018
@andybons andybons removed their assignment Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants