Store operation with configurable memory ordering Default to release semantics for backward compatibility
| 47 | // Store operation with configurable memory ordering |
| 48 | // Default to release semantics for backward compatibility |
| 49 | void store(T value, int order = memory_order_release) FL_NOEXCEPT { |
| 50 | __atomic_store_n(&mValue, value, order); |
| 51 | } |
| 52 | |
| 53 | // Exchange operation - atomically replaces the value and returns the old value |
| 54 | T exchange(T value, int order = memory_order_acq_rel) FL_NOEXCEPT { |
no outgoing calls
no test coverage detected