Atomic store with "release" memory-ordering semantic.
| 85 | |
| 86 | /// Atomic store with "release" memory-ordering semantic. |
| 87 | ALWAYS_INLINE void Store(T x) { |
| 88 | base::subtle::Release_Store(&value_, x); |
| 89 | } |
| 90 | |
| 91 | /// Atomic add with "barrier" memory-ordering semantic. Returns the new value. |
| 92 | ALWAYS_INLINE T Add(T x) { |