basic_execution¶
#include <compatibility/hpx/util/register_locks.hpp>
¶
#include <hpx/basic_execution.hpp>
¶
#include <hpx/basic_execution/this_thread.hpp>
¶
-
namespace
hpx
-
namespace
basic_execution
¶ -
namespace
this_thread
¶ Functions
-
hpx::basic_execution::agent_ref
agent
()¶
-
void
yield
(char const *desc = "hpx::basic_execution::this_thread::yield")¶
-
void
suspend
(char const *desc = "hpx::basic_execution::this_thread::suspend")¶
-
struct
reset_agent
¶ Public Functions
-
reset_agent
(detail::agent_storage *, agent_base &impl)¶
-
reset_agent
(agent_base &impl)¶
-
~reset_agent
()¶
-
-
hpx::basic_execution::agent_ref
-
namespace
-
namespace
#include <hpx/basic_execution/context_base.hpp>
¶
-
namespace
hpx
-
namespace
basic_execution
-
struct
context_base
¶
-
struct
-
namespace
#include <hpx/basic_execution/agent_base.hpp>
¶
-
namespace
hpx
-
namespace
basic_execution
-
struct
agent_base
¶ Public Functions
-
virtual
~agent_base
()¶
-
virtual context_base const &
context
() const = 0¶
-
virtual void
yield
(char const *desc) = 0¶
-
virtual void
suspend
(char const *desc) = 0¶
-
virtual void
resume
(char const *desc) = 0¶
-
virtual void
abort
(char const *desc) = 0¶
-
virtual void
sleep_for
(hpx::util::steady_duration const &sleep_duration, char const *desc) = 0¶
-
virtual void
sleep_until
(hpx::util::steady_time_point const &sleep_time, char const *desc) = 0¶
-
virtual
-
struct
-
namespace
#include <hpx/basic_execution/register_locks.hpp>
¶
-
namespace
hpx
-
namespace
util
-
namespace
#include <hpx/basic_execution/agent_ref.hpp>
¶
-
namespace
hpx
-
namespace
basic_execution
-
class
agent_ref
¶ Public Functions
-
constexpr
agent_ref
()¶
-
constexpr
agent_ref
(agent_base *impl)¶
-
HPX_CXX14_CONSTEXPR agent_ref& hpx::basic_execution::agent_ref::operator=(agent_ref const &)
-
HPX_CXX14_CONSTEXPR agent_ref& hpx::basic_execution::agent_ref::operator=(agent_ref &&)
-
constexpr
operator bool
() const¶
-
void
reset
(agent_base *impl = nullptr)¶
-
void
yield
(char const *desc = "hpx::basic_execution::agent_ref::yield")¶
-
void
suspend
(char const *desc = "hpx::basic_execution::agent_ref::suspend")¶
-
void
resume
(char const *desc = "hpx::basic_execution::agent_ref::resume")¶
-
void
abort
(char const *desc = "hpx::basic_execution::agent_ref::abort")¶
-
template <typename Rep, typename Period>
voidsleep_for
(std::chrono::duration<Rep, Period> const &sleep_duration, char const *desc = "hpx::basic_execution::agent_ref::sleep_for")¶
-
template <typename Clock, typename Duration>
voidsleep_until
(std::chrono::time_point<Clock, Duration> const &sleep_time, char const *desc = "hpx::basic_execution::agent_ref::sleep_until")¶
-
agent_base &
ref
()¶
Private Functions
-
void
sleep_for
(hpx::util::steady_duration const &sleep_duration, char const *desc)¶
-
void
sleep_until
(hpx::util::steady_time_point const &sleep_time, char const *desc)¶
Private Members
-
agent_base *
impl_
¶
-
constexpr
-
class
-
namespace