Loading src/core/module/ThreadPool.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -170,6 +170,10 @@ unsigned int ThreadPool::threadNum() { return 0; } unsigned int ThreadPool::threadCount() { return thread_total_; } void ThreadPool::registerThreadCount(unsigned int cnt) { thread_total_ += cnt; } src/core/module/ThreadPool.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -248,7 +248,7 @@ namespace allpix { * @brief Get the number of thread including the main thread (thus always at least one) * @return Total count of threads */ static unsigned int threadCount() { return thread_total_; } static unsigned int threadCount(); /** * @brief Add number to the total count of threads that could be used Loading Loading
src/core/module/ThreadPool.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -170,6 +170,10 @@ unsigned int ThreadPool::threadNum() { return 0; } unsigned int ThreadPool::threadCount() { return thread_total_; } void ThreadPool::registerThreadCount(unsigned int cnt) { thread_total_ += cnt; }
src/core/module/ThreadPool.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -248,7 +248,7 @@ namespace allpix { * @brief Get the number of thread including the main thread (thus always at least one) * @return Total count of threads */ static unsigned int threadCount() { return thread_total_; } static unsigned int threadCount(); /** * @brief Add number to the total count of threads that could be used Loading