FAST.Framework
1.0.0
|
#include <FMutex.h>
Public Member Functions | |
FMutex ()=default | |
Constructor of mutex object. | |
virtual | ~FMutex ()=default |
Destroy mutex object. | |
void | Lock () const |
Locks the mutex, blocks if the mutex is not available. | |
void | Unlock () const |
Unlocks the mutex. | |
Boolean | TryLock () const |
Try to locks the mutex, blocks if the mutex is not available. | |
const type_info & | GetType () override |
Returns the type info over object. | |
FString | GetName () const override |
Returns the name of object. | |
Public Member Functions inherited from FObject | |
FObject ()=default | |
Constructor. | |
virtual | ~FObject ()=default |
Destructor. | |
Static Public Member Functions | |
static void | LockGuard () |
Locks the mutex, blocks if the mutex is not available. | |
The mutex class is a synchronization primitive that can be used to protect shared data from being simultaneously accessed by multiple threads