diff options
| author | 2016-09-03 16:44:20 +0000 | |
|---|---|---|
| committer | 2016-09-03 16:44:20 +0000 | |
| commit | 4a529ace46435d50395a71136a1de0cda65ca96f (patch) | |
| tree | 34c3feb3bc9681d0aac6de7bd183f462cf57df0f /lib/librthread/rthread.c | |
| parent | Add functions for SHA512/256. The standard says you're supposed to start (diff) | |
| download | wireguard-openbsd-4a529ace46435d50395a71136a1de0cda65ca96f.tar.xz wireguard-openbsd-4a529ace46435d50395a71136a1de0cda65ca96f.zip | |
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.c | 5 |
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); } } |
