ThreadContext class. More...

#include <ThreadContext.h>

Classes

class  Lock
 Locks the mutex on construction and unlocks on deletion. More...
 

Public Member Functions

 ThreadContext ()
 Default constructor.
 
 ~ThreadContext ()
 Destructor.
 
void lock ()
 Obtain the mutual exclusion lock.
 
void unlock ()
 Release the mutual exclusion lock.
 
void wait ()
 Wait for a condition.
 
void signal ()
 Signal a condition to a single waiting thread.
 
void broadcast ()
 Signal a condition to all waiting threads.
 

Protected Attributes

void * cond
 
void * mutex
 

Detailed Description


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

Generated using doxygen 1.8.17