Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include "PTL/Threading.hh"
#include <chrono>
#include <iostream>
#include <mutex>
#include <system_error>
Go to the source code of this file.
Classes | |
class | PTL::TemplateAutoLock< MutexT > |
Namespaces | |
namespace | PTL |
Macros | |
#define | _is_stand_mutex(Tp) (std::is_same<Tp, Mutex>::value) |
#define | _is_recur_mutex(Tp) (std::is_same<Tp, RecursiveMutex>::value) |
#define | _is_other_mutex(Tp) (!_is_stand_mutex(Tp) && !_is_recur_mutex(Tp)) |
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.