Revert "fix haiku"

This reverts commit 7290c69257.
This commit is contained in:
avanspector
2024-02-26 08:09:58 +01:00
parent 7290c69257
commit 180902468f
2 changed files with 31 additions and 31 deletions

View File

@@ -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)