c4dd3f4ef9
Prevent futex_wait from actually waiting if a concurrent waker was executed before us Fixes #2223 Two SC fences were placed in `futex_wake` (after the caller has changed `addr`), and in `futex_wait` (before we read `addr`). This guarantees that `futex_wait` sees the value written to `addr` before the last `futex_wake` call, should one exists, and avoid going into sleep with no one else to wake us up. |
||
---|---|---|
.. | ||
bin | ||
concurrency | ||
helpers | ||
shims | ||
stacked_borrows | ||
diagnostics.rs | ||
eval.rs | ||
helpers.rs | ||
intptrcast.rs | ||
lib.rs | ||
machine.rs | ||
mono_hash_map.rs | ||
operator.rs | ||
range_map.rs | ||
stacked_borrows.rs | ||
sync.rs | ||
thread.rs | ||
vector_clock.rs |