MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / onBackgroundChannelChanged

Method onBackgroundChannelChanged

ASAP/IOThread.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void IOThread::onBackgroundChannelChanged(int channel) {
42 _jobListMutex.lock();
43 for (unsigned int i = 0; i < _workers.size(); ++i) {
44 _workers[i]->setBackgroundChannel(channel);
45 }
46 _jobListMutex.unlock();
47}
48
49void IOThread::onForegroundChannelChanged(int channel) {
50 _jobListMutex.lock();

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
setBackgroundChannelMethod · 0.80

Tested by

no test coverage detected