-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: implement replacement for Waitmsg #2949
Labels
Milestone
Comments
Dup of issue #2823. Will close that one. |
Issue #2823 has been merged into this issue. |
Text by the primary fitz from closed 2383: Problems with the bits in *os.Process Wait(options int) 1) they're non-portable 2) they're a mix of syscall bit numberspace and Go-assigned numbers (1 << 20 for os.WRUSAGE) We should clean this up somehow: a) remove the options parameter to Wait b) keep the options parameter, but document the bits as all Go-defined portable bits (like FileMode) c) document that they're all syscall bits and pass them along, but don't provide alias. force callers to use syscall.WNOHANG, etc. that leaves WRUSAGE, but we could just always return that, and remove WRUSAGE. |
Owner changed to @robpike. Status changed to Started. |
Fixed by http://golang.org/cl/5673077/. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: