#include "copyright.h"#include "scheduler.h"#include "system.h"#include "thread.h"#include <signal.h>#include <time.h>#include <unistd.h>#include <setjmp.h>Go to the source code of this file.
Functions | |
| void | SetPreemption () |
| void | timerInit () |
| void | schedule () |
Variables | |
| sigjmp_buf | schd_jmp |
| Thread | bogus_th ("starter") |
| sigset_t | timer_mask |
| timer_t | timer_id |
| itimerspec | timer_value |
| itimerspec | timer_empty |
| bool | preempt = false |
|
|
Definition at line 198 of file scheduler.cc. References bogus_th, Thread::cbuff, currentThread, DEBUG(), Interrupt::Enable(), Scheduler::FindNextToRun(), Thread::getName(), interrupt, Scheduler::ReadyToRun(), RUNNING, scheduler, Thread::setStatus(), Thread::started, SWITCH(), threadToBeDestroyed, timer_empty, timer_id, timer_mask, and timer_value. Referenced by main(), Scheduler::timerIntH(), and Thread::Yield().
|
|
|
Definition at line 45 of file scheduler.cc. References preempt.
|
|
|
Definition at line 162 of file scheduler.cc. References NSECS_PER_SEC, timer_empty, timer_id, timer_mask, and timer_value. Referenced by main().
|
|
|
Referenced by schedule(). |
|
|
Definition at line 38 of file scheduler.cc. Referenced by SetPreemption(), and Scheduler::timerIntH(). |
|
|
Definition at line 31 of file scheduler.cc. |
|
|
Definition at line 36 of file scheduler.cc. Referenced by schedule(), and timerInit(). |
|
|
Definition at line 34 of file scheduler.cc. Referenced by Cleanup(), schedule(), timerInit(), and Scheduler::timerIntH(). |
|
|
Definition at line 33 of file scheduler.cc. Referenced by schedule(), Interrupt::SetLevel(), and timerInit(). |
|
|
Definition at line 35 of file scheduler.cc. Referenced by schedule(), timerInit(), and Scheduler::timerIntH(). |
1.3.8