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. |
||
|---|---|---|
| .. | ||
| fail | ||
| panic | ||
| pass | ||
| compiletest.rs | ||