47 theTasks(static_cast<tbb::task_list*>(0)),
66 for (
G4int nt = 0 ; nt < ntasks ; ++nt )
69 if ( nt == ntasks - 1 ) evts+=remn;
76 tbbTask& task = *
new(tbb::task::allocate_root())
SimpleTbbMasterRunManager()
virtual void RunTermination()
virtual void CreateAndStartWorkers()
tbb::task_list * theTasks
virtual void CreateTask(G4int id, G4int evts)
virtual void RunTermination()
virtual void TerminateWorkers()
virtual ~SimpleTbbMasterRunManager()
G4int numberOfEventToBeProcessed