QMCPACK
ThreadCountProtector< Executor::OPENMP > Class Template Reference
+ Inheritance diagram for ThreadCountProtector< Executor::OPENMP >:
+ Collaboration diagram for ThreadCountProtector< Executor::OPENMP >:

Public Member Functions

 ThreadCountProtector ()
 
 ~ThreadCountProtector ()
 

Private Attributes

const int original_max_threads_
 

Detailed Description

template<>
class qmcplusplus::Concurrency::ThreadCountProtector< Executor::OPENMP >

Definition at line 36 of file UtilityFunctions.hpp.

Constructor & Destructor Documentation

◆ ThreadCountProtector()

◆ ~ThreadCountProtector()

~ThreadCountProtector ( )
inline

Definition at line 44 of file UtilityFunctions.hpp.

References omp_set_num_threads().

Member Data Documentation

◆ original_max_threads_

const int original_max_threads_
private

Definition at line 39 of file UtilityFunctions.hpp.


The documentation for this class was generated from the following file: