25#include <seastar/util/backtrace.hh>
38#ifdef SEASTAR_TASK_BACKTRACE
49 return std::exchange(_sg, new_sg);
53 virtual void run_and_dispose()
noexcept = 0;
58#ifdef SEASTAR_TASK_BACKTRACE
59 void make_backtrace() noexcept;
61 void make_backtrace() noexcept {}
66shared_backtrace task::get_backtrace()
const {
67#ifdef SEASTAR_TASK_BACKTRACE
74SEASTAR_MODULE_EXPORT_BEGIN
76void schedule(task* t)
noexcept;
77void schedule_checked(task* t)
noexcept;
78void schedule_urgent(task* t)
noexcept;
80SEASTAR_MODULE_EXPORT_END
Definition: shared_ptr.hh:268
Identifies function calls that are accounted as a group.
Definition: scheduling.hh:285
virtual task * waiting_task() noexcept=0
Returns the next task which is waiting for this task to complete execution, or nullptr.
Seastar API namespace.
Definition: abort_on_ebadf.hh:26
scheduling_group current_scheduling_group() noexcept
Returns the current scheduling group.
Definition: scheduling.hh:397