• Yedidya Feldblum's avatar
    Use relaxed_atomic in ShutdownSocketSet · 8ccd13f0
    Yedidya Feldblum authored
    Summary:
    [Folly] Use `relaxed_atomic` in `ShutdownSocketSet`.
    
    It currently uses a slab of `std::atomic` states, every operation on which uses `std::memory_order_relaxed`. Which is what `folly::relaxed_atomic` is for.
    
    Reviewed By: ot, magedm
    
    Differential Revision: D6290453
    
    fbshipit-source-id: a6b4df115b0de429dd544a97fdf97c088459a6d9
    8ccd13f0
ShutdownSocketSet.cpp 6.1 KB