simplify Qeue, update some comments and include paths

This commit is contained in:
Niklas Gollenstede
2025-05-26 18:21:22 +02:00
committed by Eggert Jung
parent 68e11c9793
commit d9978ddc37
13 changed files with 55 additions and 93 deletions

View File

@@ -41,8 +41,8 @@ void Scheduler::kill(Thread* that) {
that->kill_flag = true;
}
bool Scheduler::isActive(const Thread* that, unsigned int* cpu) {
(void)that;
bool Scheduler::isActive(const Thread* thread, unsigned int* cpu) {
(void)thread;
(void)cpu;
return false;
}

View File

@@ -104,7 +104,7 @@ class Scheduler {
Thread* active() { return dispatcher.active(); }
/// \copydoc Dispatcher::isActive
bool isActive(const Thread* that, unsigned int* cpu = nullptr);
bool isActive(const Thread* thread, unsigned int* cpu = nullptr);
/*! \brief Checks whether the ready queue is empty.
*