|
Urho3D
|
Condition on which a thread can wait. More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/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.