/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Concurrency/interface/setNThreads.h
17 строк
601 B
Christopher Jones
Added comment about ThreadsController lifetime requirements
03 сен 2020, 19:37
03 сен 2020, 19:37
c645fae
Код
Авторство
О чём код?
#ifndef FWCore_Concurrency_setNThreads_h #define FWCore_Concurrency_setNThreads_h // // setNThreads.h // CMSSW // // Created by Chris Jones on 7/24/20. // #include <memory> #include "FWCore/Concurrency/interface/ThreadsController.h" namespace edm { //This guarantees that the previous ThreadsController is destroyed before a new one starts // At one time certain TBB control elements required such behavior. unsigned int setNThreads(unsigned int iNThreads, unsigned int iStackSize, std::unique_ptr<ThreadsController>& oPtr); } // namespace edm #endif /* FWCore_Concurrency_setNThreads_h */