The CoList class The CoList class implements a circular-linked-listed structure for coroutine objects...
CoRoutine implementation.
static CoList m_clStopList
static CoList * GetStopList()
GetStopList Get the pointer to the coroutine list managing initialized coroutines that are not awaiti...
#define PORT_PRIO_TYPE
Type used for bitmap in the PriorityMap class.
static CoPrioMap * GetPrioMap()
GetPrioMap Get the pointer to the priority map object used by the scheduler.
The CoScheduler class. This class implements the coroutine scheduler. Similar to the Mark3 thread sch...
static CoPrioMap m_clPrioMap
Mark3 Kernel Configuration This file is used to configure the kernel for your specific application in...
#define PORT_COROUTINE_PRIORITIES
static CoList m_aclPriorities[PORT_COROUTINE_PRIORITIES]
static CoList * GetCoList(PORT_PRIO_TYPE uPriority_)
GetCoList Retrieve the coroutine list associated with a given priority.
The Coroutine class implements a lightweight, run-to-completion task that forms the basis for co-oper...
The PriorityMapL1 class This class implements a priority bitmap data structure. Each bit in the objec...
CoRoutine List structure implementation.
static void Init()
Init Initialize the coroutine scheduler prior to use. Must be called prior to using any other functio...
static Coroutine * Schedule()
Schedule Determine what coroutine (if any) is the next to be executed.