1

log when idlethread destroyed

This commit is contained in:
2022-07-17 01:14:08 +02:00
parent 8a8a918cea
commit b1e3129de8

View File

@ -23,10 +23,14 @@ public:
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 {
// Idle-Thread läuft, ab jetzt ist der Scheduler fertig initialisiert
scheduler.enable_preemption();
log << INFO << "IdleThread enabled preemption" << endl;
scheduler.enable_preemption();
while (true) {
// kout << "Idle!" << endl;