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

Method IOThread

ASAP/IOThread.cpp:12–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10using namespace pathology;
11
12IOThread::IOThread(QObject *parent, unsigned int nrThreads) :
13 QObject(parent),
14 _abort(false),
15 _threadsWaiting(0)
16{
17 for (int i = 0; i < nrThreads; ++i) {
18 IOWorker* worker = new IOWorker(this);
19 worker->start(QThread::HighPriority);
20 _workers.push_back(worker);
21 }
22}
23
24IOThread::~IOThread()
25{

Callers

nothing calls this directly

Calls 1

startMethod · 0.80

Tested by

no test coverage detected