MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ operator=() [2/2]

ServerThread & Lila::ServerThread::operator= ( ServerThread &&  other)
inlinenoexcept

Definition at line 165 of file ServerThread.hpp.

166 {
167 if (this != &other) {
168 if (m_thread.joinable()) {
169 request_stop();
170 m_thread.join();
171 }
172
173 m_thread = std::move(other.m_thread);
174 m_stop_flag = std::move(other.m_stop_flag);
175 }
176 return *this;
177 }
void request_stop() noexcept
std::shared_ptr< std::atomic< bool > > m_stop_flag

References m_stop_flag, m_thread, and request_stop().

+ Here is the call graph for this function: