diff options
Diffstat (limited to 'core/sync')
| -rw-r--r-- | core/sync/futex_haiku.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sync/futex_haiku.odin b/core/sync/futex_haiku.odin index e86b5b155..9e04cf420 100644 --- a/core/sync/futex_haiku.odin +++ b/core/sync/futex_haiku.odin @@ -65,7 +65,7 @@ _futex_wait :: proc "contextless" (f: ^Futex, expect: u32) -> bool { haiku.sigaddset(&mask, haiku.SIGCONT) unix.pthread_sigmask(haiku.SIG_BLOCK, &mask, &old_mask) - if u32(atomic_load_explicit(f, .Acquire)) == expect { + if u32(atomic_load_explicit(f, .acquire)) == expect { waitq_unlock(waitq) defer waitq_lock(waitq) |