hpx/threading_base/execution_agent.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
namespace
threads
-
struct
execution_agent
: public agent_base¶ Public Functions
-
execution_agent
(coroutines::detail::coroutine_impl *coroutine)¶
-
execution_context const &
context
() const¶
-
void
yield
(char const *desc)¶
-
void
suspend
(char const *desc)¶
-
void
resume
(char const *desc)¶
-
void
abort
(char const *desc)¶
-
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 Functions
-
hpx::threads::thread_restart_state
do_yield
(char const *desc, threads::thread_schedule_state state)¶
-
void
do_resume
(char const *desc, hpx::threads::thread_restart_state statex)¶
-
-
struct
execution_context
: public context_base¶ Public Functions
-
hpx::execution_base::resource_base const &
resource
() const¶
Public Members
-
hpx::execution_base::resource_base
resource_
¶
-
hpx::execution_base::resource_base const &
-
struct
-
namespace