reformat
This commit is contained in:
@ -16,7 +16,6 @@
|
||||
|
||||
#include "kernel/threads/Dispatch.h"
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Methode: Dispatcher::start *
|
||||
*---------------------------------------------------------------------------*
|
||||
@ -32,7 +31,6 @@ void Dispatcher::start (Thread& first) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Methode: Dispatcher::dispatch *
|
||||
*---------------------------------------------------------------------------*
|
||||
|
||||
@ -19,11 +19,10 @@
|
||||
#include "kernel/threads/Thread.h"
|
||||
|
||||
class Dispatcher {
|
||||
|
||||
private:
|
||||
Thread* active; // aktiver Thread
|
||||
|
||||
Dispatcher(const Dispatcher ©); // Verhindere Kopieren
|
||||
Dispatcher(const Dispatcher& copy) = delete; // Verhindere Kopieren
|
||||
|
||||
public:
|
||||
Dispatcher() : active(0) {}
|
||||
|
||||
@ -17,11 +17,9 @@
|
||||
#include "lib/Queue.h"
|
||||
|
||||
class Scheduler : public Dispatcher {
|
||||
|
||||
private:
|
||||
Scheduler (const Scheduler ©); // Verhindere Kopieren
|
||||
Scheduler(const Scheduler& copy) = delete; // Verhindere Kopieren
|
||||
|
||||
private:
|
||||
Queue readyQueue; // auf die CPU wartende Threads
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user