You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-513 clean up and test thread pool for ExeMgr
This commit is contained in:
@ -1433,13 +1433,19 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
}
|
||||
|
||||
// if (!JobStep::jobstepThreadPool.debug())
|
||||
// {
|
||||
// JobStep::jobstepThreadPool.setName("ExeMgr");
|
||||
// JobStep::jobstepThreadPool.setDebug(true);
|
||||
// JobStep::jobstepThreadPool.invoke(ThreadPoolMonitor(&JobStep::jobstepThreadPool));
|
||||
// }
|
||||
|
||||
threadpool::ThreadPool exeMgrThreadPool(serverThreads, serverQueueSize);
|
||||
for (;;)
|
||||
{
|
||||
IOSocket ios;
|
||||
ios = mqs->accept();
|
||||
boost::thread thd(SessionThread(ios, ec, rm));
|
||||
//exeMgrThreadPool.invoke(SessionThread(ios, ec, rm));
|
||||
exeMgrThreadPool.invoke(SessionThread(ios, ec, rm));
|
||||
}
|
||||
exeMgrThreadPool.wait();
|
||||
|
||||
|
Reference in New Issue
Block a user