]> Cypherpunks repositories - gostls13.git/commit
runtime: fix semasleep() duration for openbsd
authorJoel Sing <jsing@google.com>
Thu, 10 Nov 2011 19:42:01 +0000 (11:42 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 10 Nov 2011 19:42:01 +0000 (11:42 -0800)
commit85b7419211d9d46cc7a73c3f8595f2a3e9ca15ff
tree9b9b4fe49ebd2ec4c07a87519ea024f4c36df25c
parent120f3b7b9d08f05950fd57f25a48adbde877c099
runtime: fix semasleep() duration for openbsd

The timespec passed to thrsleep() needs to be an absolute/realtime
value, so add the current nanotime to ns.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5374048
src/pkg/runtime/openbsd/thread.c