summaryrefslogtreecommitdiff
path: root/lib/thread/condvar+linux.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread/condvar+linux.myr')
-rw-r--r--lib/thread/condvar+linux.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread/condvar+linux.myr b/lib/thread/condvar+linux.myr
index d8f048b..5d30274 100644
--- a/lib/thread/condvar+linux.myr
+++ b/lib/thread/condvar+linux.myr
@@ -45,6 +45,6 @@ const condsignal = {cond : cond#
const condbroadcast = {cond : cond#
xadd(&cond._seq, 1)
- sys.futex(&cond._seq, sys.Futexrequeue | sys.Futexpriv, 1, Zptr, &cond._mtx._state, 0)
+ sys.futex(&cond._seq, sys.Futexwake | sys.Futexpriv, 0x7fffffff, Zptr, Zptr, 0)
}