proxygen
folly::FakeAllPowerfulAssertingMutex Class Reference

Public Member Functions

void lock ()
 
void unlock ()
 
void lock_shared ()
 
void unlock_shared ()
 
void lock_upgrade ()
 
void unlock_upgrade ()
 
void unlock_upgrade_and_lock ()
 
void unlock_and_lock_upgrade ()
 
void unlock_and_lock_shared ()
 
void unlock_upgrade_and_lock_shared ()
 
template<class Rep , class Period >
bool try_lock_for (const std::chrono::duration< Rep, Period > &arg)
 
template<class Rep , class Period >
bool try_lock_upgrade_for (const std::chrono::duration< Rep, Period > &arg)
 
template<class Rep , class Period >
bool try_unlock_upgrade_and_lock_for (const std::chrono::duration< Rep, Period > &arg)
 
 ~FakeAllPowerfulAssertingMutex ()
 

Detailed Description

Definition at line 286 of file SynchronizedTest.cpp.

Constructor & Destructor Documentation

folly::FakeAllPowerfulAssertingMutex::~FakeAllPowerfulAssertingMutex ( )
inline

Definition at line 337 of file SynchronizedTest.cpp.

337  {
338  globalAllPowerfulAssertingMutex = FakeAllPowerfulAssertingMutexInternal{};
339  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex

Member Function Documentation

void folly::FakeAllPowerfulAssertingMutex::lock ( )
inline

Definition at line 288 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::lock().

288  {
290  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
void folly::FakeAllPowerfulAssertingMutex::lock_shared ( )
inline

Definition at line 294 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::lock_shared().

294  {
296  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
void folly::FakeAllPowerfulAssertingMutex::lock_upgrade ( )
inline

Definition at line 300 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::lock_upgrade().

300  {
302  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
template<class Rep , class Period >
bool folly::FakeAllPowerfulAssertingMutex::try_lock_for ( const std::chrono::duration< Rep, Period > &  arg)
inline

Definition at line 321 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::try_lock_for().

321  {
323  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
bool try_lock_for(const std::chrono::duration< Rep, Period > &)
template<class Rep , class Period >
bool folly::FakeAllPowerfulAssertingMutex::try_lock_upgrade_for ( const std::chrono::duration< Rep, Period > &  arg)
inline

Definition at line 326 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::try_lock_upgrade_for().

326  {
328  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
bool try_lock_upgrade_for(const std::chrono::duration< Rep, Period > &)
template<class Rep , class Period >
bool folly::FakeAllPowerfulAssertingMutex::try_unlock_upgrade_and_lock_for ( const std::chrono::duration< Rep, Period > &  arg)
inline

Definition at line 331 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::try_unlock_upgrade_and_lock_for().

332  {
334  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
bool try_unlock_upgrade_and_lock_for(const std::chrono::duration< Rep, Period > &)
void folly::FakeAllPowerfulAssertingMutex::unlock ( )
inline

Definition at line 291 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::unlock().

291  {
293  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
void folly::FakeAllPowerfulAssertingMutex::unlock_and_lock_shared ( )
inline

Definition at line 313 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::unlock_and_lock_shared().

313  {
315  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
void folly::FakeAllPowerfulAssertingMutex::unlock_and_lock_upgrade ( )
inline

Definition at line 310 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::unlock_and_lock_upgrade().

310  {
312  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
void folly::FakeAllPowerfulAssertingMutex::unlock_shared ( )
inline

Definition at line 297 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::unlock_shared().

297  {
299  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
void folly::FakeAllPowerfulAssertingMutex::unlock_upgrade ( )
inline

Definition at line 303 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::unlock_upgrade().

303  {
305  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
void folly::FakeAllPowerfulAssertingMutex::unlock_upgrade_and_lock ( )
inline

Definition at line 307 of file SynchronizedTest.cpp.

References folly::FakeAllPowerfulAssertingMutexInternal::unlock_upgrade_and_lock().

307  {
309  }
static FakeAllPowerfulAssertingMutexInternal globalAllPowerfulAssertingMutex
void folly::FakeAllPowerfulAssertingMutex::unlock_upgrade_and_lock_shared ( )
inline

The documentation for this class was generated from the following file: