simplify Qeue, update some comments and include paths
This commit is contained in:
committed by
Eggert Jung
parent
68e11c9793
commit
d9978ddc37
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user