Commit 020c711f authored by Chris Chafe's avatar Chris Chafe
Browse files

mThreadPool.setMaxThreadCount

parent 1ab9cf08
......@@ -70,6 +70,9 @@ UdpMasterListener::UdpMasterListener(int server_port) :
mJTWorkers->insert(i, NULL);
}
qDebug() << "mThreadPool default maxThreadCount =" << mThreadPool.maxThreadCount();
mThreadPool.setMaxThreadCount(mThreadPool.maxThreadCount() * 16);
qDebug() << "mThreadPool maxThreadCount set to" << mThreadPool.maxThreadCount();
//mJTWorkers = new JackTripWorker(this);
mThreadPool.setExpiryTimeout(3000); // msec (-1) = forever
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment