Unverified Commit 865ecef6 authored by Stephan Lachnit's avatar Stephan Lachnit
Browse files

leave ThreadPool::threadCount() in DSO

parent 072b6677
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
}
+1 −1
Original line number Diff line number Diff line
@@ -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