1

helloworld demo

This commit is contained in:
churl
2022-06-15 21:31:21 +02:00
parent 7870f2e247
commit a3aa13d946

View File

@ -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;