• Yedidya Feldblum's avatar
    Tweaks to folly::call_once and folly::once_flag · 651b5bd9
    Yedidya Feldblum authored
    Summary:
    [Folly] Tweaks to `folly::call_once` and `folly::once_flag`.
    
    In particular:
    * Move the template class out of `detail`.
    * Add parameterization by the atomic type.
    * Expand the comments.
    
    Reviewed By: Orvid
    
    Differential Revision: D6637250
    
    fbshipit-source-id: 3806580ca0badf8464f637750c4873b2aba9f916
    651b5bd9
CallOnce.h 3.21 KB