]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove no longer used enums for openbsd
authorJoel Sing <jsing@google.com>
Sat, 12 Nov 2011 16:58:24 +0000 (03:58 +1100)
committerJoel Sing <jsing@google.com>
Sat, 12 Nov 2011 16:58:24 +0000 (03:58 +1100)
The code that used these has been moved to lock_sema.c.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5376062

src/pkg/runtime/openbsd/thread.c

index 995a46edd66efa8ffc58f4634995837b018edfc0..55ca64b80be029a43a167431c3fb62cca7ccffa6 100644 (file)
@@ -8,14 +8,6 @@
 
 enum
 {
-       MUTEX_UNLOCKED = 0,
-       MUTEX_LOCKED = 1,
-       MUTEX_SLEEPING = 2,
-
-       ACTIVE_SPIN = 4,
-       ACTIVE_SPIN_CNT = 30,
-       PASSIVE_SPIN = 1,
-
        ESRCH = 3,
        ENOTSUP = 91,