]> Cypherpunks repositories - gostls13.git/commit
runtime: update openbsd thread related syscalls to match kernel
authorJoel Sing <jsing@google.com>
Wed, 11 Apr 2012 12:02:08 +0000 (22:02 +1000)
committerJoel Sing <jsing@google.com>
Wed, 11 Apr 2012 12:02:08 +0000 (22:02 +1000)
commit8cea1bf1022272ee12fc03ef939a2ea1201d34d1
tree07930f3752ec6d31c35252aaec14eab4d9b18b20
parentd7bc644ba2fd19418a31bc7fbf39bb8df2494e4c
runtime: update openbsd thread related syscalls to match kernel

Update the threxit and thrsleep syscalls to match the ABI of the
OpenBSD 5.1 kernel. These changes are backwards compatible with
older kernels.

Fixes #3311.

R=golang-dev, rsc, devon.odell
CC=golang-dev
https://golang.org/cl/5777079
src/pkg/runtime/sys_openbsd_386.s
src/pkg/runtime/sys_openbsd_amd64.s
src/pkg/runtime/thread_openbsd.c