|
Geant4-11
|
#include "PTL/Threading.hh"#include <chrono>#include <iostream>#include <mutex>#include <system_error>Go to the source code of this file.
Data Structures | |
| class | PTL::TemplateAutoLock< MutexT > |
Namespaces | |
| namespace | PTL |
Macros | |
| #define | _is_other_mutex(Tp) (!_is_stand_mutex(Tp) && !_is_recur_mutex(Tp)) |
| #define | _is_recur_mutex(Tp) (std::is_same<Tp, RecursiveMutex>::value) |
| #define | _is_stand_mutex(Tp) (std::is_same<Tp, Mutex>::value) |
Typedefs | |
| typedef TemplateAutoLock< Mutex > | PTL::AutoLock |
| typedef TemplateAutoLock< RecursiveMutex > | PTL::RecursiveAutoLock |
| template<typename Tp > | |
| using | PTL::TAutoLock = TemplateAutoLock< Tp > |
| #define _is_other_mutex | ( | Tp | ) | (!_is_stand_mutex(Tp) && !_is_recur_mutex(Tp)) |
Definition at line 355 of file AutoLock.hh.
| #define _is_recur_mutex | ( | Tp | ) | (std::is_same<Tp, RecursiveMutex>::value) |
Definition at line 354 of file AutoLock.hh.
| #define _is_stand_mutex | ( | Tp | ) | (std::is_same<Tp, Mutex>::value) |
Definition at line 353 of file AutoLock.hh.