Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include "G4Threading.hh"
#include <chrono>
#include <iostream>
#include <mutex>
#include <system_error>
Go to the source code of this file.
Classes | |
class | G4TemplateAutoLock< _Mutex_t > |
Macros | |
#define | _is_stand_mutex(_Tp) (std::is_same<_Tp, G4Mutex>::value) |
#define | _is_recur_mutex(_Tp) (std::is_same<_Tp, G4RecursiveMutex>::value) |
#define | _is_other_mutex(_Tp) (!_is_stand_mutex(_Tp) && !_is_recur_mutex(_Tp)) |
Typedefs | |
using | G4AutoLock = G4TemplateAutoLock< G4Mutex > |
using | G4RecursiveAutoLock = G4TemplateAutoLock< G4RecursiveMutex > |
template<typename _Tp > | |
using | G4TAutoLock = G4TemplateAutoLock< _Tp > |
#define _is_other_mutex | ( | _Tp | ) | (!_is_stand_mutex(_Tp) && !_is_recur_mutex(_Tp)) |
Definition at line 441 of file G4AutoLock.hh.
#define _is_recur_mutex | ( | _Tp | ) | (std::is_same<_Tp, G4RecursiveMutex>::value) |
Definition at line 440 of file G4AutoLock.hh.
#define _is_stand_mutex | ( | _Tp | ) | (std::is_same<_Tp, G4Mutex>::value) |
Definition at line 439 of file G4AutoLock.hh.
using G4AutoLock = G4TemplateAutoLock<G4Mutex> |
Definition at line 582 of file G4AutoLock.hh.
Definition at line 583 of file G4AutoLock.hh.
using G4TAutoLock = G4TemplateAutoLock<_Tp> |
Definition at line 588 of file G4AutoLock.hh.