#include "copyright.h"
#include "utility.h"
#include <setjmp.h>
#include <ucontext.h>
Go to the source code of this file.
Classes | |
class | Thread |
Defines | |
#define | MachineStateSize 18 |
#define | StackSize (32 * 1024) |
Enumerations | |
enum | ThreadStatus { JUST_CREATED, RUNNING, READY, BLOCKED, SLEEPING } |
Functions | |
void | ThreadPrint (int arg) |
void | ThreadRoot () |
void | SWITCH (Thread *oldThread, Thread *newThread) |
|
|
Definition at line 58 of file thread.h. Referenced by Thread::CheckOverflow(), and Thread::~Thread(). |
|
Definition at line 62 of file thread.h. Referenced by Thread::GetStatus().
|
|
Referenced by schedule(). |
|
Definition at line 268 of file thread.cc. References Thread::Print(). Referenced by Scheduler::Print().
|
|
|