1

add logging to thread and destructor

This commit is contained in:
2022-07-16 16:36:34 +02:00
parent 696292bdff
commit 675f995abd
3 changed files with 13 additions and 5 deletions

View File

@ -20,13 +20,13 @@ private:
public:
IdleThread() {
kout << "Initialized Idle Thread" << endl;
log << INFO << "Initialized 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();
kout << "IdleThread enabled preemption" << endl;
log << INFO << "IdleThread enabled preemption" << endl;
while (true) {
// kout << "Idle!" << endl;