Struct tasklet::sleep_condition
Defined in File tasklet.h
Nested Relationships
This struct is a nested type of Class tasklet.
Struct Documentation
-
struct sleep_condition
Bundle condition variable and mutex into one. This way, they cannot be provided separately.
Public Members
-
std::condition_variable condition
Condition variable to sleep on.
-
std::mutex mutex
Mutex that the condition relates to.
-
std::condition_variable condition