proxygen
folly::NonDefaultConstructibleMutex Class Reference

Public Member Functions

 NonDefaultConstructibleMutex (int valueIn)
 
 NonDefaultConstructibleMutex ()=delete
 
 NonDefaultConstructibleMutex (const NonDefaultConstructibleMutex &)=delete
 
 NonDefaultConstructibleMutex (NonDefaultConstructibleMutex &&)=delete
 
NonDefaultConstructibleMutexoperator= (const NonDefaultConstructibleMutex &)=delete
 
NonDefaultConstructibleMutexoperator= (NonDefaultConstructibleMutex &&)=delete
 
void lock ()
 
void unlock ()
 

Static Public Attributes

static int value {0}
 

Detailed Description

Definition at line 342 of file SynchronizedTest.cpp.

Constructor & Destructor Documentation

folly::NonDefaultConstructibleMutex::NonDefaultConstructibleMutex ( int  valueIn)
inlineexplicit

Definition at line 344 of file SynchronizedTest.cpp.

References folly::value().

344  {
345  value = valueIn;
346  }
folly::NonDefaultConstructibleMutex::NonDefaultConstructibleMutex ( )
delete
folly::NonDefaultConstructibleMutex::NonDefaultConstructibleMutex ( const NonDefaultConstructibleMutex )
delete
folly::NonDefaultConstructibleMutex::NonDefaultConstructibleMutex ( NonDefaultConstructibleMutex &&  )
delete

Member Function Documentation

void folly::NonDefaultConstructibleMutex::lock ( )
inline

Definition at line 357 of file SynchronizedTest.cpp.

357 {}
NonDefaultConstructibleMutex& folly::NonDefaultConstructibleMutex::operator= ( const NonDefaultConstructibleMutex )
delete
NonDefaultConstructibleMutex& folly::NonDefaultConstructibleMutex::operator= ( NonDefaultConstructibleMutex &&  )
delete
void folly::NonDefaultConstructibleMutex::unlock ( )
inline

Definition at line 358 of file SynchronizedTest.cpp.

References value.

358 {}

Member Data Documentation

int folly::NonDefaultConstructibleMutex::value {0}
static

Definition at line 355 of file SynchronizedTest.cpp.

Referenced by folly::TEST_F(), and unlock().


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