My Project
Public Member Functions | List of all members
Mutex Class Reference

Mutex for synchronizing multiple threads. More...

#include <Mutex.h>

Public Member Functions

 Mutex ()
 Constructor.
 
 ~Mutex ()
 Destructor.
 
void lock ()
 Locks the mutex. More...
 
void unlock ()
 Unlocks the mutex.
 

Detailed Description

Mutex for synchronizing multiple threads.

Mutex class for synchronizing multiple threads.

Definition at line 44 of file Mutex.h.

Member Function Documentation

◆ lock()

void lock ( )

Locks the mutex.

If the mutex is already locked by another thread, this method will block until the other thread unlocks the mutex.


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