diff --git a/src/thread/__wait.c b/src/thread/__wait.c index 01ee598287720773b220acef49cacc9892e01106..dc33c1a30992e6c04e4482cef8a2f8279d18262a 100644 --- a/src/thread/__wait.c +++ b/src/thread/__wait.c @@ -3,7 +3,7 @@ void __wait(volatile int *addr, volatile int *waiters, int val, int priv) { int spins=100; - if (priv) priv = 128; + if (priv) priv = FUTEX_PRIVATE; while (spins-- && (!waiters || !*waiters)) { if (*addr==val) a_spin(); else return;