#include <scheduler.h>
Public Member Functions | |
Scheduler () | |
~Scheduler () | |
void | ReadyToRun (Thread *thread) |
Thread * | FindNextToRun () |
void | Print () |
int | IsEmpty () |
Static Public Member Functions | |
void | timerIntH (int sig) |
|
Definition at line 55 of file scheduler.cc.
|
|
Definition at line 65 of file scheduler.cc.
|
|
Definition at line 96 of file scheduler.cc. References List::Remove(). Referenced by schedule().
|
|
Definition at line 70 of file scheduler.cc. References List::IsEmpty(). Referenced by main(), Thread::Suspend(), and timerIntH().
|
|
Definition at line 108 of file scheduler.cc. References List::Mapcar(), ThreadPrint(), and VoidFunctionPtr.
|
|
Definition at line 83 of file scheduler.cc. References List::Append(), READY, and Thread::setStatus(). Referenced by Thread::Fork(), schedule(), and Semaphore::V().
|
|
Definition at line 120 of file scheduler.cc. References Thread::cbuff, currentThread, interrupt, IntOff, IsEmpty(), Interrupt::level, preempt, PREEMPTION, schedule(), scheduler, secCount, TICKS_PER_SEC, timer_id, timer_value, timerCount, and Interrupt::YieldOnReturn().
|