-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
runtime: long sleep doesn't schedule #5321
Labels
Milestone
Comments
The captcha screwed my attempt at attaching files. Attachments:
|
The problem is that the timer code adds the duration to the current time (in nanoseconds) resulting in a negative value which throws off the logic in the timer proc. I have a preliminary changeset but I'm curious about how we should handle this case. Do we simply return as we do when the caller supplies a duration <= 0 or do we sleep for the maximum time allowed by int64 constraints? Labels changed: added priority-soon, removed priority-triage. Owner changed to @ality. Status changed to Accepted. |
I'm sure I already fixed this with http://golang.org/change/a7ea286f5569 |
Issue #5439 has been merged into this issue. |
This Issue has been sitting here for a while, so I thought I'd take a rough stab at it. https://golang.org/cl/12058050 |
This issue was closed by revision 3548ab5. 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: