mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
works for get setttings and for loadsettingsfile
This commit is contained in:
@ -3,7 +3,9 @@
|
||||
|
||||
ThreadPool::ThreadPool(int pool_size) : m_pool_size(pool_size)
|
||||
{
|
||||
#ifdef VERBOSE
|
||||
cout << "Constructed ThreadPool of size " << m_pool_size << endl;
|
||||
#endif
|
||||
m_tasks_loaded = false;
|
||||
thread_started = false;
|
||||
current_thread_number = -1;
|
||||
@ -49,8 +51,9 @@ int ThreadPool::initialize_threadpool()
|
||||
m_threads.push_back(tid);
|
||||
while(!thread_started);
|
||||
}
|
||||
#ifdef VERBOSE
|
||||
cout << m_pool_size << " threads created by the thread pool" << endl;
|
||||
|
||||
#endif
|
||||
return m_pool_size;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user