Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::Mutex Class Reference

Mutex. More...

#include <mutex.h>

Inheritance diagram for roc::core::Mutex:
Collaboration diagram for roc::core::Mutex:

Public Types

typedef ScopedLock< MutexLock
 RAII lock. More...
 

Public Member Functions

void lock () const
 Lock mutex. More...
 
void unlock () const
 Unlock mutex. More...
 

Friends

class Cond
 

Detailed Description

Mutex.

Definition at line 27 of file mutex.h.

Member Typedef Documentation

RAII lock.

Definition at line 30 of file mutex.h.

Member Function Documentation

void roc::core::Mutex::lock ( ) const
inline

Lock mutex.

Definition at line 44 of file mutex.h.

void roc::core::Mutex::unlock ( ) const
inline

Unlock mutex.

Definition at line 49 of file mutex.h.


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