Fray Engine
Loading...
Searching...
No Matches
fray::threads::StopToken::State Struct Reference

Public Attributes

std::mutex mutex
std::condition_variable wake
bool stop = false

Detailed Description

Shared stop flag with its mutex and wake-up condition.

Definition at line 33 of file thread_manager.hpp.

Member Data Documentation

◆ mutex

std::mutex fray::threads::StopToken::State::mutex

Definition at line 35 of file thread_manager.hpp.

◆ stop

bool fray::threads::StopToken::State::stop = false

Definition at line 37 of file thread_manager.hpp.

◆ wake

std::condition_variable fray::threads::StopToken::State::wake

Definition at line 36 of file thread_manager.hpp.


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