relaxed_atomic, atomic with assumed memory_order_relaxed
Summary: [Folly] `relaxed_atomic`, `atomic` with assumed `memory_order_relaxed`. This is useful for values which are themselves atomics but which do not guard other non-atomic data, such as counters. In such cases, there is no required sequencing between the atomic value and other memory locations, just between concurrent accesses to the same atomic value, so relaxed operations are sufficient. Reviewed By: ot Differential Revision: D6206542 fbshipit-source-id: c820d7fcf189350a1feda4b012cb6a6342e32104
Showing
Please register or sign in to comment