Handout
This commit is contained in:
27
thread/scheduler.cc
Normal file
27
thread/scheduler.cc
Normal 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; }
|
||||
Reference in New Issue
Block a user