MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / Stop

Method Stop

lib/queue/action-queue.cpp:73–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void ActionQueue::Stop()
74{
75 _stop = true;
76 _cv.notify_all();
77 if (std::this_thread::get_id() == _thread.get_id()) {
78 return;
79 }
80
81 if (_thread.joinable()) {
82 _thread.join();
83 }
84}
85
86bool ActionQueue::IsRunning() const
87{

Callers 2

StartStopClickedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected