summaryrefslogtreecommitdiff
path: root/lib/thread/sem+futex.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread/sem+futex.myr')
-rw-r--r--lib/thread/sem+futex.myr3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/thread/sem+futex.myr b/lib/thread/sem+futex.myr
index d79bd41..542586b 100644
--- a/lib/thread/sem+futex.myr
+++ b/lib/thread/sem+futex.myr
@@ -1,7 +1,6 @@
use std
use "atomic"
-use "common"
use "futex"
pkg thread =
@@ -28,7 +27,7 @@ const semwait = {s
-> void
;;
;;
- ftxwait(&s._val, v, Zptr)
+ ftxwait(&s._val, v, -1)
;;
}