|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    5 #ifndef ATHENAKERNEL_TIMEOUT_H 
    6 #define ATHENAKERNEL_TIMEOUT_H 1 
   18 #include "GaudiKernel/ThreadLocalContext.h" 
   61     return *instances.get (ctx);
 
   65     return instance (Gaudi::Hive::currentContext());
 
  
TimeoutMaster(TimeoutMaster &)
TimeoutMaster & operator=(const TimeoutMaster &)
TimeoutMaster()
Prevent direct instantiation.
Maintain a set of objects, one per slot.
Singleton to access the timeout flag.
void set()
Set timeout flag.
Class to modify timeout flag.
Some weak symbol referencing magic...
Timeout & operator=(const Timeout &)
static Timeout & instance()
Get reference to Timeout singleton.
bool reached() const
Check if the timeout was reached.
void reset()
Reset timeout flag.
Maintain a set of objects, one per slot.
std::atomic< bool > m_state
Timeout flag.
#define ATLAS_THREAD_SAFE
void resetTimeout(Timeout &instance)
Reset timeout.
void setTimeout(Timeout &instance)
Set timeout.