1
This commit is contained in:
churl
2022-06-05 16:51:11 +02:00
parent a09e3e4a34
commit f229e43c6b
3 changed files with 22 additions and 27 deletions

View File

@ -16,7 +16,6 @@
#include "kernel/threads/Dispatch.h"
/*****************************************************************************
* Methode: Dispatcher::start *
*---------------------------------------------------------------------------*
@ -32,7 +31,6 @@ void Dispatcher::start (Thread& first) {
}
}
/*****************************************************************************
* Methode: Dispatcher::dispatch *
*---------------------------------------------------------------------------*

View File

@ -19,11 +19,10 @@
#include "kernel/threads/Thread.h"
class Dispatcher {
private:
Thread* active; // aktiver Thread
Dispatcher(const Dispatcher &copy); // Verhindere Kopieren
Dispatcher(const Dispatcher& copy) = delete; // Verhindere Kopieren
public:
Dispatcher() : active(0) {}

View File

@ -17,11 +17,9 @@
#include "lib/Queue.h"
class Scheduler : public Dispatcher {
private:
Scheduler (const Scheduler &copy); // Verhindere Kopieren
Scheduler(const Scheduler& copy) = delete; // Verhindere Kopieren
private:
Queue readyQueue; // auf die CPU wartende Threads
public: