ContRap-Core
Public Member Functions

crp::Mutex Class Reference

Class Mutex is a platform-independent mutex wrapper. More...

#include <thread.h>

Public Member Functions

 Mutex ()
 Creates a new mutex.
 ~Mutex ()
 Releases memory.
void lock ()
 Locks the mutex.
void unlock ()
 Unlocks the mutex.

Detailed Description

Class Mutex is a platform-independent mutex wrapper.


Constructor & Destructor Documentation

crp::Mutex::Mutex ( )

Creates a new mutex.

crp::Mutex::~Mutex ( )

Releases memory.


Member Function Documentation

void crp::Mutex::lock ( )

Locks the mutex.

void crp::Mutex::unlock ( )

Unlocks the mutex.


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