Theora Playback Library  1.0.0
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
TheoraMutex Class Reference

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
 

Detailed Description

This is a Mutex object, used in thread syncronization.

Constructor & Destructor Documentation

TheoraMutex::TheoraMutex ( )
TheoraMutex::~TheoraMutex ( )

Member Function Documentation

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.

Member Data Documentation

pthread_mutex_t TheoraMutex::mHandle
protected

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