Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
seastar::task Class Referenceabstract
Inheritance diagram for seastar::task:
seastar::coroutine::experimental::internal::generator_buffered_promise< T, Container > seastar::coroutine::experimental::internal::generator_unbuffered_promise< T > seastar::coroutine::switch_to seastar::lambda_task< Func >

Public Member Functions

 task (scheduling_group sg=current_scheduling_group()) noexcept
 
virtual void run_and_dispose () noexcept=0
 
virtual taskwaiting_task () noexcept=0
 Returns the next task which is waiting for this task to complete execution, or nullptr. More...
 
scheduling_group group () const
 
shared_backtrace get_backtrace () const
 
void make_backtrace () noexcept
 

Protected Member Functions

scheduling_group set_scheduling_group (scheduling_group new_sg) noexcept
 

Protected Attributes

scheduling_group _sg
 

Member Function Documentation

◆ waiting_task()

virtual task * seastar::task::waiting_task ( )
pure virtualnoexcept

Returns the next task which is waiting for this task to complete execution, or nullptr.

Implemented in seastar::coroutine::experimental::internal::generator_unbuffered_promise< T >, seastar::lambda_task< Func >, and seastar::coroutine::switch_to.


The documentation for this class was generated from the following file: