FAST.Framework  1.0.0
Public Member Functions | Static Public Member Functions | List of all members
FMutex Class Reference

#include <FMutex.h>

Inheritance diagram for FMutex:
Inheritance graph
[legend]
Collaboration diagram for FMutex:
Collaboration graph
[legend]

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.
 

Detailed Description

The mutex class is a synchronization primitive that can be used to protect shared data from being simultaneously accessed by multiple threads


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