• Lewis Baker's avatar
    Declare folly::SpinLock methods as noexcept · a917f122
    Lewis Baker authored
    Summary:
    Declare folly::SpinLock constructor and methods as noexcept so that types that have a compiler-generated default-constructor (like folly::Synchronized) get a noexcept default constructor.
    
    Also declare methods on folly::MicroSpinLock and folly::detail::Sleeper as noexcept.
    
    Reviewed By: yfeldblum
    
    Differential Revision: D10518727
    
    fbshipit-source-id: 8582fd8b3893ad25ef736bd7a63465872ebe67af
    a917f122
Sleeper.h 1.64 KB