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

Comments

Projects
None yet
4 participants
@bradfitz
Copy link
Member

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

This comment has been minimized.

Copy link
Contributor

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

This comment has been minimized.

Copy link
Member

commented Apr 4, 2016

@andybons andybons self-assigned this Feb 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.