MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Lila::ServerThread::StopToken Class Reference

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 }
 

Detailed Description

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.


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