Skip to content
Snippets Groups Projects
Commit ef8888f6 authored by Xavier Valls Pla's avatar Xavier Valls Pla
Browse files

Fix massive parallel execution of TThreadedObject

parent 9be21b08
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@
#include "TList.h"
#include "TError.h"
#include <algorithm>
#include <functional>
#include <map>
#include <memory>
......@@ -286,7 +287,7 @@ namespace ROOT {
};
template<class T> unsigned TThreadedObject<T>::fgMaxSlots = 64;
template<class T> unsigned TThreadedObject<T>::fgMaxSlots = std::max(std::thread::hardware_concurrency(), 64u);
} // End ROOT namespace
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment