log when idlethread destroyed
This commit is contained in:
@ -23,10 +23,14 @@ public:
|
|||||||
log << INFO << "Initialized Idle Thread with ID: " << dec << this->tid << endl;
|
log << INFO << "Initialized Idle Thread with ID: " << dec << this->tid << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~IdleThread() override {
|
||||||
|
log << ERROR << "Uninitialized Idle Thread with ID: " << dec << this->tid << endl;
|
||||||
|
}
|
||||||
|
|
||||||
void run() override {
|
void run() override {
|
||||||
// Idle-Thread läuft, ab jetzt ist der Scheduler fertig initialisiert
|
// Idle-Thread läuft, ab jetzt ist der Scheduler fertig initialisiert
|
||||||
scheduler.enable_preemption();
|
|
||||||
log << INFO << "IdleThread enabled preemption" << endl;
|
log << INFO << "IdleThread enabled preemption" << endl;
|
||||||
|
scheduler.enable_preemption();
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
// kout << "Idle!" << endl;
|
// kout << "Idle!" << endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user