MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / removeThread

Method removeThread

src/audio/AudioThread.cpp:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void AudioThread::removeThread(AudioThread *other) {
65
66 std::lock_guard<std::recursive_mutex> lock(m_mutex);
67
68 auto i = std::find(boundThreads.begin(), boundThreads.end(), other);
69
70 if (i != boundThreads.end()) {
71 boundThreads.erase(i);
72 }
73}
74
75void AudioThread::deviceCleanup() {
76 //

Callers 3

setupDeviceMethod · 0.80
runMethod · 0.80
setActiveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected