This commit is contained in:
Niklas Gollenstede
2025-04-14 11:20:52 +02:00
commit 5a2e32aaeb
126 changed files with 16742 additions and 0 deletions

27
thread/scheduler.cc Normal file
View File

@@ -0,0 +1,27 @@
// vim: set noet ts=4 sw=4:
#include "scheduler.h"
Scheduler::Scheduler() {}
Thread* Scheduler::getNext() { return nullptr; }
void Scheduler::schedule() {}
void Scheduler::ready(Thread* that) { (void)that; }
void Scheduler::resume(bool ready) { (void)ready; }
void Scheduler::exit() {}
void Scheduler::kill(Thread* that) { (void)that; }
bool Scheduler::isActive(const Thread* that, unsigned int* cpu) {
(void)that;
(void)cpu;
return false;
}
bool Scheduler::isEmpty() const { return false; }
void Scheduler::setIdle(IdleThread* that) { (void)that; }