• Yedidya Feldblum's avatar
    relaxed_atomic, atomic with assumed memory_order_relaxed · c7e3550f
    Yedidya Feldblum authored
    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
    c7e3550f
CMakeLists.txt 36.5 KB