]> Cypherpunks repositories - gostls13.git/commit
runtime: fix prototype for openbsd thrsleep
authorJoel Sing <jsing@google.com>
Mon, 7 Nov 2011 16:57:34 +0000 (11:57 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 7 Nov 2011 16:57:34 +0000 (11:57 -0500)
commita1c622dfea65416c024c570727e101ecc1479ea8
tree0c1164844ab05747144a12e55bfe6534ab7873b6
parent986ad31b2dad78d2238a426904fcf9fbf120d2c8
runtime: fix prototype for openbsd thrsleep

- Fix function prototype for thrsleep().
- Provide enums for clock identifiers.
- Provide timespec structure for use with thrsleep().

R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/5360042
src/pkg/runtime/openbsd/386/defs.h
src/pkg/runtime/openbsd/amd64/defs.h
src/pkg/runtime/openbsd/defs.c
src/pkg/runtime/openbsd/thread.c