Exchange operation - atomically replaces the value and returns the old value
| 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 { |
| 55 | return __atomic_exchange_n(&mValue, value, order); |
| 56 | } |
| 57 | |
| 58 | // Pre-increment: ++atomic |
| 59 | // Returns the NEW value after increment |
no outgoing calls
no test coverage detected