diff options
| author | avanspector <avanspector@gmail.com> | 2024-02-26 08:09:58 +0100 |
|---|---|---|
| committer | avanspector <avanspector@gmail.com> | 2024-02-26 08:09:58 +0100 |
| commit | 180902468f6fec0790aa91df7f6e39ba6cbbdf84 (patch) | |
| tree | ced658474c6e193cfff7c15459b83efb24ca46a8 /core/sync | |
| parent | 7290c692577a2ce6c4f6046b0792ba8da3e61a93 (diff) | |
Revert "fix haiku"
This reverts commit 7290c692577a2ce6c4f6046b0792ba8da3e61a93.
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) |