Jameo Core Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
jm::Mutex Class Reference

Mutex class. More...

Public Member Functions

 Mutex ()
 The default constructor.
 
 ~Mutex ()
 Destructor.
 
void lock ()
 Lock the mutex object.
 
void unlock ()
 Unlock the mutex object.
 
void sleep ()
 Sleep.
 
void wakeUp ()
 Wake up.
 

Detailed Description

Mutex class.

A mutex is used in a multi threading environment for preventing race conditions for member access of objects.

Constructor & Destructor Documentation

◆ Mutex()

jm::Mutex::Mutex ( )

The default constructor.

◆ ~Mutex()

jm::Mutex::~Mutex ( )

Destructor.

Member Function Documentation

◆ lock()

void jm::Mutex::lock ( )

Lock the mutex object.

◆ sleep()

void jm::Mutex::sleep ( )

Sleep.

◆ unlock()

void jm::Mutex::unlock ( )

Unlock the mutex object.

◆ wakeUp()

void jm::Mutex::wakeUp ( )

Wake up.