Mark3 Realtime Kernel
coroutine.h File Reference

CoRoutine implementation. More...

#include "mark3cfg.h"
#include "ll.h"
#include "priomapl1.h"
#include "priomapl2.h"

Go to the source code of this file.

Classes

class  Mark3::Coroutine
 The Coroutine class implements a lightweight, run-to-completion task that forms the basis for co-operative task scheduling in Mark3. Coroutines are designed to be run from a singular context, and scheduled as a result of events occurring from threads, timers, interrupt sources, or other co-routines. More...
 

Namespaces

 Mark3
 

Typedefs

using Mark3::CoPrioMap = PriorityMapL1< PORT_PRIO_TYPE, PORT_COROUTINE_PRIORITIES >
 
using Mark3::CoroutineHandler = void(*)(Coroutine *pclCaller_, void *pvContext_)
 

Detailed Description

CoRoutine implementation.

Definition in file coroutine.h.