ODIN
Public Member Functions | Friends | List of all members

#include <tjthread.h>

Public Member Functions

 Mutex ()
 
void lock ()
 
void unlock ()
 

Friends

class Event
 

Detailed Description

Lock for mutually exclusive (mutex) access in threads. The mutex is recursive.

Definition at line 46 of file tjthread.h.

Constructor & Destructor Documentation

◆ Mutex()

Mutex::Mutex ( )

Constructs unlocked mutex object.

Member Function Documentation

◆ lock()

void Mutex::lock ( )

Locks the mutex.

◆ unlock()

void Mutex::unlock ( )

Unlocks the mutex.


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