1

add idlethread error

This commit is contained in:
2022-07-22 02:33:32 +02:00
parent d24d54ec0a
commit 9ad0d81d07

View File

@ -31,6 +31,9 @@ public:
// Idle-Thread läuft, ab jetzt ist der Scheduler fertig initialisiert
log << INFO << "IdleThread enabled preemption" << endl;
scheduler.enable_preemption(this->tid);
if (!scheduler.preemption_enabled()) {
log << ERROR << "Preemption disabled" << endl;
}
while (true) {
// kout << "Idle!" << endl;