CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
thread_local.h
Go to the documentation of this file.
1#ifndef CLHEP_THREAD_LOCAL_H
2#define CLHEP_THREAD_LOCAL_H
3
4// ======================================================================
5//
6// Use thread_local and multithreading are enabled by default
7// To disable multithreading compile with -DCLHEP_SINGLE_THREAD=ON
8//
9// ======================================================================
10
11#define CLHEP_THREAD_LOCAL thread_local
12
13#endif // CLHEP_THREAD_LOCAL_H