1

add vorgabe06

This commit is contained in:
2022-06-02 13:01:43 +02:00
parent 7b7b375c8c
commit 32b1f2391f
15 changed files with 525 additions and 0 deletions

26
c_os/user/CoopThreadDemo.cc Executable file
View File

@ -0,0 +1,26 @@
/*****************************************************************************
* *
* C O O P E R A T I V E T H R E A D D E M O *
* *
*---------------------------------------------------------------------------*
* Beschreibung: Beispiel für kooperative Threads. *
* *
* Autor: Michael Schoettner, HHU, 21.8.2016 *
*****************************************************************************/
#include "kernel/Globals.h"
#include "user/CoopThreadDemo.h"
#include "user/LoopThread.h"
/*****************************************************************************
* Methode: CoopThreadDemo::run *
*---------------------------------------------------------------------------*
* Beschreibung: Der Anwendungsthread erzeugt drei Threads die Zaehler *
* ausgeben und terminiert sich selbst. *
*****************************************************************************/
void CoopThreadDemo::run () {
/* Hier muss Code eingefuegt werden */
}