helloworld demo
This commit is contained in:
@ -10,6 +10,7 @@
|
|||||||
#ifndef __hello_world_thread_include__
|
#ifndef __hello_world_thread_include__
|
||||||
#define __hello_world_thread_include__
|
#define __hello_world_thread_include__
|
||||||
|
|
||||||
|
#include "kernel/Globals.h"
|
||||||
#include "kernel/threads/Thread.h"
|
#include "kernel/threads/Thread.h"
|
||||||
|
|
||||||
class HelloWorldThread : public Thread {
|
class HelloWorldThread : public Thread {
|
||||||
@ -17,7 +18,9 @@ private:
|
|||||||
HelloWorldThread(const HelloWorldThread& copy) = delete; // Verhindere Kopieren
|
HelloWorldThread(const HelloWorldThread& copy) = delete; // Verhindere Kopieren
|
||||||
|
|
||||||
public:
|
public:
|
||||||
HelloWorldThread() {}
|
HelloWorldThread() : Thread() {
|
||||||
|
kout << "Initialized HelloWorldThread" << endl;
|
||||||
|
}
|
||||||
|
|
||||||
// Thread-Startmethode
|
// Thread-Startmethode
|
||||||
void run() override;
|
void run() override;
|
||||||
|
|||||||
Reference in New Issue
Block a user