Atomic store with "release" memory-ordering semantic.
| 135 | |
| 136 | /// Atomic store with "release" memory-ordering semantic. |
| 137 | ALWAYS_INLINE void Store(T* val) { ptr_.Store(reinterpret_cast<intptr_t>(val)); } |
| 138 | |
| 139 | /// Store 'new_val' and return the previous value. Implies a Release memory barrier |
| 140 | /// (i.e. the same as Store()). |