Rebel Fork Framework
|
Condition on which a thread can wait. More...
#include <Urho3D/Core/Condition.h>
Public Member Functions | |
void | Set () |
Set the condition. Will be automatically reset once a waiting thread wakes up. | |
void | Wait () |
Wait on the condition. | |
Private Attributes | |
std::mutex | mutex_ |
Mutex for the event, necessary for std-based implementation. | |
std::condition_variable | event_ |
Event variable. | |
Condition on which a thread can wait.