1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-513 Comment spelling

This commit is contained in:
David Hall
2017-02-17 10:45:59 -06:00
parent 87a679e6eb
commit 59f984c3ca
2 changed files with 2 additions and 3 deletions

View File

@ -1393,7 +1393,7 @@ int main(int argc, char* argv[])
} }
} }
// jobstepThreadPool is used by other processes. We can't call // class jobstepThreadPool is used by other processes. We can't call
// resourcemanaager (rm) functions during the static creation of threadpool // resourcemanaager (rm) functions during the static creation of threadpool
// because rm has a "isExeMgr" flag that is set upon creation (rm is a singleton). // because rm has a "isExeMgr" flag that is set upon creation (rm is a singleton).
// From the pools perspective, it has no idea if it is ExeMgr doing the // From the pools perspective, it has no idea if it is ExeMgr doing the

View File

@ -274,7 +274,7 @@ void ThreadPool::beginThread() throw()
if (fNextFunctor == fWaitingFunctors.end()) if (fNextFunctor == fWaitingFunctors.end())
{ {
// Wait until someone needs a thread // Wait until someone needs a thread
// Add the timed waait for queueSize == 0 so we can idle away threads // Add the timed wait for queueSize == 0 so we can idle away threads
// over fMaxThreads // over fMaxThreads
if (fQueueSize > 0) if (fQueueSize > 0)
{ {
@ -392,7 +392,6 @@ uint64_t ThreadPool::addFunctor(const Functor_T &func)
if (fNextFunctor == fWaitingFunctors.end()) if (fNextFunctor == fWaitingFunctors.end())
bAtEnd = true; bAtEnd = true;
// PoolFunction_T poolFunction(fNextHandle, func);
PoolFunction_T poolFunction; PoolFunction_T poolFunction;
poolFunction.hndl = fNextHandle; poolFunction.hndl = fNextHandle;
poolFunction.functor = func; poolFunction.functor = func;