U3D
Open-source, cross-platform 2D and 3D game engine built in C++
|
Condition on which a thread can wait. More...
#include </var/dev/u3d/stable/Source/Urho3D/Core/Condition.h>
Public Member Functions | |
Condition () | |
Construct. | |
~Condition () | |
Destruct. | |
void | Set () |
Set the condition. Will be automatically reset once a waiting thread wakes up. | |
void | Wait () |
Wait on the condition. | |
Private Attributes | |
void * | mutex_ |
Mutex for the event, necessary for pthreads-based implementation. | |
void * | event_ |
Operating system specific event. | |
Condition on which a thread can wait.