aboutsummaryrefslogtreecommitdiff
path: root/src/threading.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/threading.cpp')
-rw-r--r--src/threading.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threading.cpp b/src/threading.cpp
index a469435d2..9e4a1607c 100644
--- a/src/threading.cpp
+++ b/src/threading.cpp
@@ -113,7 +113,7 @@ struct Wait_Signal {
gb_internal void wait_signal_until_available(Wait_Signal *ws) {
if (ws->futex.load() == 0) {
- futex_wait(&ws->futex, 1);
+ futex_wait(&ws->futex, 0);
}
}