]> Cypherpunks repositories - gostls13.git/commit
runtime: openbsd thread tweaks
authorJoel Sing <jsing@google.com>
Mon, 29 Aug 2011 13:35:13 +0000 (09:35 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 29 Aug 2011 13:35:13 +0000 (09:35 -0400)
commit8aa2591b130520e9f30d83e672f976e9c7590d7e
tree103eea31d7772374390c2abe5b69f621678fbb02
parent45bd7b07e5e4a6524a6fe243a40a5918850168bf
runtime: openbsd thread tweaks

- Rename sys_sched_yield() to osyield() as this is now defined in asm.h.
- Only print kern.rtheads message if rfork_thread() failed with ENOTSUP.
- Remove unused variables.

R=rsc
CC=golang-dev
https://golang.org/cl/4973043
src/pkg/runtime/openbsd/amd64/sys.s
src/pkg/runtime/openbsd/thread.c