![]() |
Theora Playback Library
1.0.0
|
Public Member Functions | |
TheoraMutex () | |
~TheoraMutex () | |
void | lock () |
Lock the mutex. If another thread has lock, the caller thread will wait until the previous thread unlocks it. More... | |
void | unlock () |
Unlock the mutex. Use this when you're done with thread-safe sections of your code. More... | |
Protected Attributes | |
pthread_mutex_t | mHandle |
This is a Mutex object, used in thread syncronization.
TheoraMutex::TheoraMutex | ( | ) |
TheoraMutex::~TheoraMutex | ( | ) |
void TheoraMutex::lock | ( | ) |
Lock the mutex. If another thread has lock, the caller thread will wait until the previous thread unlocks it.
void TheoraMutex::unlock | ( | ) |
Unlock the mutex. Use this when you're done with thread-safe sections of your code.
|
protected |