|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef ATHENAKERNEL_RCUUPDATER_H
15 #define ATHENAKERNEL_RCUUPDATER_H
20 #include "GaudiKernel/EventContext.h"
21 #include "GaudiKernel/ThreadLocalContext.h"
52 template <
typename...
Args>
110 #endif // not ATHENAKERNEL_RCUUPDATER_H
RCUObject< T > m_obj
The managed object.
Wrapper object controlled by RCU synchonization.
read-copy-update (RCU) style synchronization for Athena.
void quiescent(const Context_t &ctx)
Mark that an event slot is not referencing this object.
RCUUpdater(IRCUSvc &rcusvc, Args &&... args)
Constructor.
read-copy-update (RCU) style synchronization for Athena.
void discard(std::unique_ptr< T > p)
Queue an object for later deletion.
EventContext Context_t
Execution context type.
Some weak symbol referencing magic...
static const Context_t & defaultContext()
Return the current event context.
Implementation of Updater for RCUSvc.
Interface for RCU service.
const T & get() const
Return a reference to the current object.
void update(std::unique_ptr< T > p, const Context_t &ctx)
Install a new object.