fpromise::subtle::scheduler

Summary

Constructors and Destructors

scheduler()
scheduler(const scheduler &)
scheduler(scheduler &&)
~scheduler()

Public types

ref_count_typeusing
uint32_t
task_queueusing
std::queue< pending_task >

Public functions

duplicate_ticket(suspended_task::ticket ticket)
void
finalize_ticket(suspended_task::ticket ticket, pending_task *task)
void
has_outstanding_tickets() const
bool
has_runnable_tasks() const
bool
has_suspended_tasks() const
bool
obtain_ticket(ref_count_type initial_refs)
suspended_task::ticket
operator=(const scheduler &)=delete
operator=(scheduler &&)=delete
release_ticket(suspended_task::ticket ticket)
resume_task_with_ticket(suspended_task::ticket ticket)
bool
schedule_task(pending_task task)
void
take_all_tasks(task_queue *tasks)
void
take_runnable_tasks(task_queue *tasks)
void

Public types

ref_count_type

uint32_t ref_count_type