/home/runner/work/HiCR/HiCR/include/hicr/backends/pthreads/executionState.hpp Source File
HiCR
|
executionState.hpp
Go to the documentation of this file.
46 __INLINE__ ExecutionState(const std::shared_ptr<HiCR::ExecutionUnit> &executionUnit, void *const argument = nullptr)
54 if (e == nullptr) HICR_THROW_LOGIC("The passed execution of type '%s' is not supported by this backend\n", executionUnit->getType().c_str());
71 __INLINE__ void suspendImpl() override { HICR_THROW_LOGIC("Pthreads execution states do not support the 'suspend' operation"); }
This file implements the abstract execution unit class for the Pthreads backend.
Definition executionState.hpp:38
Definition executionState.hpp:38
__INLINE__ void resumeImpl() override
Definition executionState.hpp:62
__INLINE__ bool checkFinalizationImpl() override
Definition executionState.hpp:73
__INLINE__ ExecutionState(const std::shared_ptr< HiCR::ExecutionUnit > &executionUnit, void *const argument=nullptr)
Definition executionState.hpp:46
__INLINE__ void suspendImpl() override
Definition executionState.hpp:71
std::function< void(void *)> pthreadFc_t
Definition executionUnit.hpp:44
Provides a base definition for a HiCR Execution State class.
Generated by