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

Method setBackgroundImage

ASAP/IOThread.cpp:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void IOThread::setBackgroundImage(std::weak_ptr<MultiResolutionImage> bck_img) {
92 QMutexLocker locker(&_jobListMutex);
93 _bck_img = bck_img;
94 for (unsigned int i = 0; i < _workers.size(); ++i) {
95 _workers[i]->setBackgroundImage(_bck_img);
96 }
97}
98
99unsigned int IOThread::getWaitingThreads() {
100 return _threadsWaiting;

Callers 1

initializeMethod · 0.45

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected