-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: high system time in openbsd #3311
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
Labels
Comments
Maybe osyield doesn't work, or maybe sleep doesn't work. Can wait until after Go 1: OpenBSD is not on our supported list. Labels changed: added priority-later, removed priority-triage. Owner changed to builder@golang.org. Status changed to Accepted. |
Unfortunately, you do not specify which version of OpenBSD you are running, however if you are running a snapshot that is newer than 1st January 2012, you will be hitting a problem that is caused by a change to the function signatures for thrsleep (an additional argument was added to some thread related syscalls in r1.120 of sys/kern/syscalls.master). I have a change to fix this: http://golang.org/cl/5777079/ However, be aware that this currently includes parts of: http://golang.org/cl/5757064/ Since they both touch the same files. Owner changed to @4a6f656c. |
Thanks so much! This was indeed the problem... after a closer look the thrsleep() was returning right away with a RET 4 meaning EINTR so something was waking it up... when it woke up it checked the time of day and realized it still needed to sleep. Thanks for this fix, it's working great on amd64. I'm a -current as well. Thank you again! Great work. :) |
This issue was closed by revision 8cea1bf. 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.
by yourcomputerpal:
The text was updated successfully, but these errors were encountered: