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