MCPcopy Create free account
hub / github.com/VCVRack/Rack / stopThread

Method stopThread

src/rtmidi.cpp:211–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209 }
210
211 void stopThread() {
212 {
213 std::lock_guard<decltype(mutex)> lock(mutex);
214 stopped = true;
215 cv.notify_one();
216 }
217 if (thread.joinable())
218 thread.join();
219 }
220};
221
222

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected