add vorgabe06
This commit is contained in:
30
c_os/user/HelloWorldThread.h
Executable file
30
c_os/user/HelloWorldThread.h
Executable file
@ -0,0 +1,30 @@
|
||||
/*****************************************************************************
|
||||
* *
|
||||
* H E L L O W O R L D T H R E A D *
|
||||
* *
|
||||
*---------------------------------------------------------------------------*
|
||||
* Beschreibung: Ein einfacher Thread. *
|
||||
* *
|
||||
* Autor: Michael Schoettner, HHU, 16.12.2016 *
|
||||
*****************************************************************************/
|
||||
#ifndef __hello_world_thread_include__
|
||||
#define __hello_world_thread_include__
|
||||
|
||||
|
||||
#include "kernel/threads/Thread.h"
|
||||
|
||||
|
||||
class HelloWorldThread : public Thread {
|
||||
|
||||
private:
|
||||
HelloWorldThread (const HelloWorldThread ©); // Verhindere Kopieren
|
||||
|
||||
public:
|
||||
HelloWorldThread () : Thread () { }
|
||||
|
||||
// Thread-Startmethode
|
||||
void run ();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user