WorkerFiber

Fiber sub-class used by the scheduler to run tasks in. In addition to the functionality of the base fiber, it also: 1. stores a reference to the task currently being executed 2. can be stored in an object pool

Constructors

this
this(size_t stack_size)

Constructor

Members

Functions

activeTask
Task activeTask()
kill
void kill()

Terminates itself by killing underlying task

Variables

active_task
Task active_task;

If not null, refers to the Task object currently being executed in this fiber

object_pool_index
size_t object_pool_index;

Allows smooth integration of WorkerFiber with object pool

Meta