Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
AutoLock.hh File Reference
#include "PTL/Threading.hh"
#include "PTL/Utility.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)
 
#define _is_recur_mutex(Tp)
 
#define _is_other_mutex(Tp)
 

Typedefs

using PTL::AutoLock = TemplateAutoLock<Mutex>
 
using PTL::RecursiveAutoLock = TemplateAutoLock<RecursiveMutex>
 

Macro Definition Documentation

◆ _is_other_mutex

#define _is_other_mutex ( Tp)
Value:
#define _is_stand_mutex(Tp)
Definition AutoLock.hh:354
#define _is_recur_mutex(Tp)
Definition AutoLock.hh:355

Definition at line 356 of file AutoLock.hh.

◆ _is_recur_mutex

#define _is_recur_mutex ( Tp)
Value:
(std::is_same<Tp, RecursiveMutex>::value)

Definition at line 355 of file AutoLock.hh.

◆ _is_stand_mutex

#define _is_stand_mutex ( Tp)
Value:
(std::is_same<Tp, Mutex>::value)

Definition at line 354 of file AutoLock.hh.