mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 17:34:34 +00:00
Revert change since it is not needed
This commit is contained in:
@@ -112,7 +112,7 @@ struct Wait_Signal {
|
||||
};
|
||||
|
||||
gb_internal void wait_signal_until_available(Wait_Signal *ws) {
|
||||
while (ws->futex.load() == 0) {
|
||||
if (ws->futex.load() == 0) {
|
||||
futex_wait(&ws->futex, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user