network: Add `SharedBool`.
The current use of `Arc<AtomicBool>` coupled with relaxed orderings for store and load operations means that no ordering exists at all. Since boolean value changes are not commutative this PR switches the operations to release-acquire ordering for store and load and introduces a `SharedBool` value with those ordering constraints.
parent
dd709789
Please register or sign in to comment