From a3aa13d9465e47956e8452e878a431831784760d Mon Sep 17 00:00:00 2001 From: churl Date: Wed, 15 Jun 2022 21:31:21 +0200 Subject: [PATCH] helloworld demo --- c_os/user/HelloWorldThread.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/c_os/user/HelloWorldThread.h b/c_os/user/HelloWorldThread.h index 93191d0..0154fd8 100644 --- a/c_os/user/HelloWorldThread.h +++ b/c_os/user/HelloWorldThread.h @@ -10,6 +10,7 @@ #ifndef __hello_world_thread_include__ #define __hello_world_thread_include__ +#include "kernel/Globals.h" #include "kernel/threads/Thread.h" class HelloWorldThread : public Thread { @@ -17,7 +18,9 @@ private: HelloWorldThread(const HelloWorldThread& copy) = delete; // Verhindere Kopieren public: - HelloWorldThread() {} + HelloWorldThread() : Thread() { + kout << "Initialized HelloWorldThread" << endl; + } // Thread-Startmethode void run() override;