1

implement + enable demos

This commit is contained in:
2022-07-04 21:24:35 +02:00
parent 7ab5fdb361
commit 1ae227ae33
7 changed files with 110 additions and 4 deletions

View File

@ -0,0 +1,21 @@
#ifndef __preemptive_thread_include__
#define __preemptive_thread_include__
#include "kernel/Globals.h"
#include "kernel/threads/Thread.h"
#include "user/PreemptiveLoopThread.h"
class PreemptiveThreadDemo : public Thread {
private:
PreemptiveThreadDemo(const PreemptiveThreadDemo& copy) = delete; // Verhindere Kopieren
public:
PreemptiveThreadDemo() {
kout << "Initialized PreemptiveThreadDemo" << endl;
}
// Thread-Startmethode
void run() override;
};
#endif