struct cancelable_task_base
Declaration
template <typename Result>
struct cancelable_task_base { /* full declaration omitted */ };Description
////////////////////////////////////////////////////////////////////////
Declared at: libs/pika/futures/include/pika/futures/detail/future_data.hpp:931
Member Variables
- protected threads::thread_id_type id_
Method Overview
- public void cancel()
- public bool cancelable() const noexcept
- public cancelable_task_base<Result>() noexcept
- public cancelable_task_base<Result>(pika::lcos::detail::cancelable_task_base::init_no_addref no_addref) noexcept
- protected threads::thread_id_type get_thread_id() const noexcept
- protected static void run_impl(pika::lcos::detail::cancelable_task_base::future_base_type this_)
- protected void set_thread_id(threads::thread_id_type id) noexcept
Methods
void cancel()
void cancel()Declared at: libs/pika/futures/include/pika/futures/detail/future_data.hpp:995
bool cancelable() const noexcept
bool cancelable() const noexceptDeclared at: libs/pika/futures/include/pika/futures/detail/future_data.hpp:990
cancelable_task_base<Result>() noexcept
cancelable_task_base<Result>() noexceptDeclared at: libs/pika/futures/include/pika/futures/detail/future_data.hpp:955
cancelable_task_base<Result>(
pika::lcos::detail::cancelable_task_base::
init_no_addref no_addref) noexcept
cancelable_task_base<Result>(
pika::lcos::detail::cancelable_task_base::
init_no_addref no_addref) noexceptDeclared at: libs/pika/futures/include/pika/futures/detail/future_data.hpp:960
Parameters
- pika::lcos::detail::cancelable_task_base:: init_no_addref no_addref
threads::thread_id_type get_thread_id()
const noexcept
threads::thread_id_type get_thread_id()
const noexceptDeclared at: libs/pika/futures/include/pika/futures/detail/future_data.hpp:943
static void run_impl(
pika::lcos::detail::cancelable_task_base::
future_base_type this_)
static void run_impl(
pika::lcos::detail::cancelable_task_base::
future_base_type this_)Declared at: libs/pika/futures/include/pika/futures/detail/future_data.hpp:982
Parameters
- pika::lcos::detail::cancelable_task_base:: future_base_type this_
void set_thread_id(
threads::thread_id_type id) noexcept
void set_thread_id(
threads::thread_id_type id) noexceptDeclared at: libs/pika/futures/include/pika/futures/detail/future_data.hpp:948