Skip to content
Snippets Groups Projects
Commit ef1821a0 authored by jmcarcell's avatar jmcarcell
Browse files

Make changes to enable compiling

parent b608885e
No related branches found
No related tags found
1 merge request!1495Support oneTBB
......@@ -34,8 +34,6 @@
#include "boost/algorithm/string.hpp"
#include "boost/thread.hpp"
#include "boost/tokenizer.hpp"
// DP waiting for the TBB service
#include "tbb/tbb_stddef.h"
// Instantiation of a static factory class used by clients to create instances of this service
DECLARE_COMPONENT( AvalancheSchedulerSvc )
......
......@@ -33,7 +33,7 @@ class IRndmGenSvc;
namespace HiveRndm {
typedef tbb::spin_rw_mutex_v3 HiveNumbersMutex;
typedef tbb::spin_rw_mutex HiveNumbersMutex;
class GAUDI_API HiveNumbers {
private:
......
......@@ -114,7 +114,7 @@ StatusCode ThreadPoolSvc::initPool( const int& poolSize ) {
Gaudi::Concurrency::ConcurrencyFlags::setNumThreads( m_threadPoolSize );
// Create the task arena to run all algorithms
m_arena = tbb::task_arena( m_threadPoolSize + 1 );
m_arena.initialize(m_threadPoolSize + 1);
// Create the barrier for task synchronization at termination
// (here we increase the number of threads by one to account for calling thread)
......
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