Class Entrant

Class Entrant

Placement in the overall structure

Module
thread
Base classes
Chain
Coroutine
Derived classes
Customer
Time of creation
Task 4
Files
entrant.h

Description

The class Entrant extends the class Coroutine by the possibility to be inserted into singly linked lists, in particular also into the ready list of the Scheduler. The linking ability is achieved by deriving from Chain.

Public methods

Entrant (void* tos);
The Entrant constructor passes only the tos parameter to the Coroutine constructor.