|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
API-compatible stop token for platforms without std::stop_token. More...
#include <ServerThread.hpp>
Collaboration diagram for Lila::ServerThread::StopToken:Public Member Functions | |
| StopToken (const std::atomic< bool > *stop_flag) | |
| bool | stop_requested () const noexcept |
Private Attributes | |
| const std::atomic< bool > * | m_stop_flag { nullptr } |
API-compatible stop token for platforms without std::stop_token.
Mimics std::stop_token's stop_requested() interface.
Definition at line 126 of file ServerThread.hpp.