#include "copyright.h"
#include "thread.h"
#include "switch.h"
#include "synch.h"
#include "system.h"
#include <unistd.h>
#include <signal.h>
Go to the source code of this file.
Defines | |
#define | STACK_FENCEPOST 0xdeadbeef |
Functions | |
void | schedule () |
void | ThreadPrint (int arg) |
Variables | |
sigjmp_buf | schd_jmp |
|
Definition at line 25 of file thread.cc. Referenced by Thread::CheckOverflow(). |
|
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 268 of file thread.cc. References Thread::Print(). Referenced by Scheduler::Print().
|
|
Definition at line 31 of file scheduler.cc. |