add vorgabe05
This commit is contained in:
27
c_os/user/CoroutineLoop.cc
Executable file
27
c_os/user/CoroutineLoop.cc
Executable file
@ -0,0 +1,27 @@
|
||||
/*****************************************************************************
|
||||
* *
|
||||
* C O R O U T I N E L O O P *
|
||||
* *
|
||||
*---------------------------------------------------------------------------*
|
||||
* Beschreibung: Loop ist eine Koroutine, die nichts weiter tut als einen *
|
||||
* Zaehler hochzuzaehlen und diesen auf dem Bildschirm *
|
||||
* anzuzeigen und dann auf die naechste Korotuine umzu- *
|
||||
* schalten. *
|
||||
* *
|
||||
* Autor: Olaf Spinczyk, TU Dortmund *
|
||||
*****************************************************************************/
|
||||
|
||||
#include "user/CoroutineLoop.h"
|
||||
#include "kernel/Globals.h"
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Methode: CoroutineLoop::run *
|
||||
*---------------------------------------------------------------------------*
|
||||
* Beschreibung: Einstiegsfunktion der Koroutine. *
|
||||
*****************************************************************************/
|
||||
void CoroutineLoop::run () {
|
||||
|
||||
/* Hier muss Code eingefuegt werden */
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user