FWCore
Concurrency
interface
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>
10
#include "
FWCore/Concurrency/interface/ThreadsController.h
"
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 */
edm::setNThreads
unsigned int setNThreads(unsigned int iNThreads, unsigned int iStackSize, std::unique_ptr< ThreadsController > &oPtr)
Definition:
setNThreads.cc:11
ThreadsController.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
Generated for CMSSW Reference Manual by
1.8.14