| 39 | } |
| 40 | |
| 41 | void 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 | |
| 49 | void IOThread::onForegroundChannelChanged(int channel) { |
| 50 | _jobListMutex.lock(); |
nothing calls this directly
no test coverage detected