hpx/execution_base/agent_ref.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
namespace
execution_base
-
class
agent_ref
¶ Public Functions
-
constexpr
agent_ref
()¶
-
constexpr
agent_ref
(agent_base *impl)¶
-
constexpr
operator bool
() const¶
-
void
reset
(agent_base *impl = nullptr)¶
-
void
yield
(char const *desc = "hpx::execution_base::agent_ref::yield")¶
-
void
suspend
(char const *desc = "hpx::execution_base::agent_ref::suspend")¶
-
void
resume
(char const *desc = "hpx::execution_base::agent_ref::resume")¶
-
void
abort
(char const *desc = "hpx::execution_base::agent_ref::abort")¶
-
template<typename
Rep
, typenamePeriod
>
voidsleep_for
(std::chrono::duration<Rep, Period> const &sleep_duration, char const *desc = "hpx::execution_base::agent_ref::sleep_for")¶
-
template<typename
Clock
, typenameDuration
>
voidsleep_until
(std::chrono::time_point<Clock, Duration> const &sleep_time, char const *desc = "hpx::execution_base::agent_ref::sleep_until")¶
-
agent_base &
ref
()¶
Private Functions
-
void
sleep_for
(hpx::chrono::steady_duration const &sleep_duration, char const *desc)¶
-
void
sleep_until
(hpx::chrono::steady_time_point const &sleep_time, char const *desc)¶
Private Members
-
agent_base *
impl_
¶
-
constexpr
-
class
-
namespace