CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setNThreads.h
Go to the documentation of this file.
1 #ifndef FWCore_Concurrency_setNThreads_h
2 #define FWCore_Concurrency_setNThreads_h
3 //
4 // setNThreads.h
5 // CMSSW
6 //
7 // Created by Chris Jones on 7/24/20.
8 //
9 #include <memory>
11 
12 namespace edm {
13  //This guarantees that the previous ThreadsController is destroyed before a new one starts
14  // At one time certain TBB control elements required such behavior.
15  unsigned int setNThreads(unsigned int iNThreads, unsigned int iStackSize, std::unique_ptr<ThreadsController>& oPtr);
16 } // namespace edm
17 #endif /* FWCore_Concurrency_setNThreads_h */
unsigned int setNThreads(unsigned int iNThreads, unsigned int iStackSize, std::unique_ptr< ThreadsController > &oPtr)
Definition: setNThreads.cc:11