OpenSceneGraph
Public Member Functions | Protected Attributes | List of all members
OpenThreads::Block Class Reference

Block is a block that can be used to halt a thread that is waiting another thread to release it. More...

Inheritance diagram for OpenThreads::Block:
Inheritance graph
[legend]
Collaboration diagram for OpenThreads::Block:
Collaboration graph
[legend]

Public Member Functions

bool block ()
 
bool block (unsigned long timeout)
 
void release ()
 
void reset ()
 
void set (bool doRelease)
 

Protected Attributes

Mutex _mut
 
Condition _cond
 
bool _released
 

Detailed Description

Block is a block that can be used to halt a thread that is waiting another thread to release it.


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