Sets the fiber to initialized state and increments the task counter.
Throws an InterruptExeption within the task as soon as it calls an interruptible function.
Blocks until the task has ended.
Shuts down the task handler loop.
Returns the handle of the current Task running on this fiber.
Returns the thread that owns this task.
The base class for a task aka Fiber.
This class represents a single task that is executed concurrently with other tasks. Each task is owned by a single thread.