diff --git a/exemgr/main.cpp b/exemgr/main.cpp index 2ff51bb2e..d22c79b78 100644 --- a/exemgr/main.cpp +++ b/exemgr/main.cpp @@ -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 // 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 diff --git a/utils/threadpool/threadpool.cpp b/utils/threadpool/threadpool.cpp index 442d43c53..b232617d6 100644 --- a/utils/threadpool/threadpool.cpp +++ b/utils/threadpool/threadpool.cpp @@ -274,7 +274,7 @@ void ThreadPool::beginThread() throw() if (fNextFunctor == fWaitingFunctors.end()) { // 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 if (fQueueSize > 0) { @@ -392,7 +392,6 @@ uint64_t ThreadPool::addFunctor(const Functor_T &func) if (fNextFunctor == fWaitingFunctors.end()) bAtEnd = true; -// PoolFunction_T poolFunction(fNextHandle, func); PoolFunction_T poolFunction; poolFunction.hndl = fNextHandle; poolFunction.functor = func;