MCPcopy Create free account
hub / github.com/Tracktion/choc / stop

Method stop

choc/threading/choc_TaskThread.h:134–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134inline void TaskThread::stop()
135{
136 if (thread.joinable())
137 {
138 threadShouldExit = true;
139 trigger();
140 thread.join();
141 }
142}
143
144inline void TaskThread::trigger()
145{

Callers 3

~PimplMethod · 0.45
~TestClientMethod · 0.45
demonstrateTaskThreadFunction · 0.45

Calls

no outgoing calls

Tested by 1

~TestClientMethod · 0.36