• Pranav Thulasiram Bhat's avatar
    Simplify getFiberManager · ebb18e1e
    Pranav Thulasiram Bhat authored
    Summary: The call-once logic in getFiberManager was unnecessarily complex. getFiberManager should only be called on main context, so use a static var initialization to implement the call-once logic (using executor.cpp as an example).
    
    Reviewed By: yfeldblum
    
    Differential Revision: D25467655
    
    fbshipit-source-id: c880b1740edf28944e772c9310f3e45f5612396d
    ebb18e1e
fibers.h 2.11 KB