Replace `VmWriter::atomic_update` with `VmWriter::atomic_compare_exchange`, which takes the old value for comparison and new value instead of a closure to compute it. This version has one less unsafe call. Then use `atomic_compare_exchange` to reimplement the looping logic of `wake_robust_futex` and make it atomic. |
||
|---|---|---|
| .. | ||
| comps | ||
| libs | ||
| src | ||
| Cargo.toml | ||