• Yedidya Feldblum's avatar
    Add unsafe-unlocked getter to Synchronized · a93eb033
    Yedidya Feldblum authored
    Summary:
    [Folly] Add unsafe-unlocked getter to `Synchronized`.
    
    Provided as a backdoor for call-sites where it is known safe to be used. For example, when it is known that only one thread has access to the `Synchronized` instance.
    
    To be used with care - this method explicitly overrides the normal safety guarantees provided by the rest of the `Synchronized` API.
    
    Reviewed By: chadaustin, simpkins
    
    Differential Revision: D8178205
    
    fbshipit-source-id: 648ee392a43a06333452f72d992ec42ba4a1a73c
    a93eb033
Synchronized.h 61.6 KB