We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent defd631 commit f687048Copy full SHA for f687048
libc-top-half/musl/src/thread/__wait.c
@@ -48,7 +48,7 @@ void __wait(volatile int *addr, volatile int *waiters, int val, int priv)
48
__syscall(SYS_futex, addr, FUTEX_WAIT|priv, val, 0) != -ENOSYS
49
|| __syscall(SYS_futex, addr, FUTEX_WAIT, val, 0);
50
#else
51
- __wasilibc_futex_wait(addr, FUTEX_WAIT, val, 0);
+ __wasilibc_futex_wait(addr, FUTEX_WAIT, val, -1);
52
#endif
53
}
54
if (waiters) a_dec(waiters);
0 commit comments