Rebel Fork Framework
Urho3D::Condition Class Reference

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.
 

Detailed Description

Condition on which a thread can wait.


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