summaryrefslogtreecommitdiff
path: root/lib/librthread/rthread.c
diff options
context:
space:
mode:
authorMichal Mazurek <akfaew@cvs.openbsd.org>2016-09-03 16:44:21 +0000
committerMichal Mazurek <akfaew@cvs.openbsd.org>2016-09-03 16:44:21 +0000
commit46036a85f87b62d5e1118f617afac606e3bf039c (patch)
tree9eb5c2aeca4f8bd9b76276eeb0581c130abf1d03 /lib/librthread/rthread.c
parent64fadef64490c07991c2f27641963bac0db4f7c7 (diff)
Remove _USING_TICKETS, it's defined as 0. No functional change.
ok tedu@ mpi@
Diffstat (limited to 'lib/librthread/rthread.c')
-rw-r--r--lib/librthread/rthread.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/librthread/rthread.c b/lib/librthread/rthread.c
index 399f42cb48d..8995c6b7496 100644
--- a/lib/librthread/rthread.c
+++ b/lib/librthread/rthread.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread.c,v 1.92 2016/09/01 10:41:02 otto Exp $ */
+/* $OpenBSD: rthread.c,v 1.93 2016/09/03 16:44:20 akfaew Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -658,8 +658,7 @@ _rthread_dl_lock(int what)
} else if (owner != self) {
TAILQ_INSERT_TAIL(&lockers, self, waiting);
while (owner != self) {
- __thrsleep(self, 0 | _USING_TICKETS, NULL,
- &lock.ticket, NULL);
+ __thrsleep(self, 0, NULL, &lock.ticket, NULL);
_spinlock(&lock);
}
}