mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Make some small fixes to recent changes
This commit is contained in:
parent
c2590cf7a0
commit
179e048bba
5 changed files with 33 additions and 11 deletions
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
void _wait0(const atomic_int *ctid) {
|
||||
int x;
|
||||
while ((x = atomic_load_explicit(ctid, memory_order_relaxed))) {
|
||||
while ((x = atomic_load_explicit(ctid, memory_order_acquire))) {
|
||||
nsync_futex_wait_(ctid, x, !IsWindows(), 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue