Definition at line 146 of file ServerThread.hpp.
147 :
m_stop_flag(std::make_shared<std::atomic<bool>>(
false))
148 {
149
150
152
153 m_thread = std::thread([callback = std::move(callback), stop_flag]() {
154 StopToken
token(stop_flag.get());
156 });
157 }
static MayaFlux::Nodes::ProcessingToken token
std::shared_ptr< std::atomic< bool > > m_stop_flag
References m_stop_flag, m_thread, and token.