Struct tasklet::sleep_condition

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.