35 lines
1.4 KiB
C++
Executable File
35 lines
1.4 KiB
C++
Executable File
/*****************************************************************************
|
|
* *
|
|
* C O R O U T I N E D E M O *
|
|
* *
|
|
*---------------------------------------------------------------------------*
|
|
* Beschreibung: Einstieg in eine Anwendung. *
|
|
* *
|
|
* Autor: Michael Schoettner, HHU, 15.8.2016 *
|
|
*****************************************************************************/
|
|
|
|
#include "kernel/Globals.h"
|
|
#include "user/CoroutineDemo.h"
|
|
#include "user/CoroutineLoop.h"
|
|
|
|
|
|
// Stacks (koennen alternative auch per 'new' alloziert werden)
|
|
static unsigned int stack[3][1024];
|
|
|
|
|
|
/*****************************************************************************
|
|
* Methode: CoroutineDemo::main *
|
|
*---------------------------------------------------------------------------*
|
|
* Beschreibung: main-Methode der Anwendung. *
|
|
*****************************************************************************/
|
|
void CoroutineDemo::main () {
|
|
|
|
/*
|
|
* Hier muss Code eingefuegt werden
|
|
*
|
|
* Die 3 Koroutinen einrichten, verketten und die 1. starten
|
|
*
|
|
*/
|
|
|
|
}
|