11#ifndef ATHENABASECOMPS_ATHASYNCHRONOUSALGORITHM_H
12#define ATHENABASECOMPS_ATHASYNCHRONOUSALGORITHM_H 1
17#include "Gaudi/AsynchronousAlgorithm.h"
20#include <boost/fiber/all.hpp>
33 StatusCode
sysExecute(
const EventContext& ctx)
override;
42 mutable boost::fibers::fiber_specific_ptr<EventContext> m_currentCtx
Define macros for attributes used to control the static checker.
An algorithm that can be suspended while work is offloaded to an accelerator.
virtual StatusCode restoreAfterSuspend() const override
Restore after suspend.
StatusCode sysExecute(const EventContext &ctx) override
Execute an algorithm.
boost::fibers::fiber_specific_ptr< EventContext > m_currentCtx ATLAS_THREAD_SAFE
Pointer to current context.
AthCommonReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)