1

enable helloworld thread demo

This commit is contained in:
churl
2022-06-05 16:58:02 +02:00
parent 973c76f010
commit f7b6cb658d
3 changed files with 16 additions and 15 deletions

View File

@ -8,20 +8,18 @@
* Autor: Michael Schoettner, HHU, 21.8.2016 *
*****************************************************************************/
#include "kernel/Globals.h"
#include "user/HelloWorldThread.h"
#include "kernel/Globals.h"
/*****************************************************************************
* Methode: HelloWorldThread::run *
*---------------------------------------------------------------------------*
* Beschreibung: Einstiegsfunktion in unseren Thread. *
*****************************************************************************/
void HelloWorldThread::run () {
void HelloWorldThread::run() {
kout << "Hallo Welt von einem Thread!" << endl;
// selbst terminieren
scheduler.exit ();
scheduler.exit();
}