Main Page   Compound List   File List   Compound Members   File Members  

thread.h File Reference

#include "copyright.h"
#include "utility.h"

Go to the source code of this file.

Compounds

class  Thread

Defines

#define MachineStateSize   18
#define StackSize   (4 * 1024)

Enumerations

enum  ThreadStatus { JUST_CREATED, RUNNING, READY, BLOCKED }

Functions

void ThreadPrint (int arg)
void ThreadRoot ()
void SWITCH (Thread *oldThread, Thread *newThread)


Define Documentation

#define MachineStateSize   18
 

Definition at line 51 of file thread.h.

#define StackSize   (4 * 1024)
 

Definition at line 56 of file thread.h.


Enumeration Type Documentation

enum ThreadStatus
 

Enumeration values:
JUST_CREATED 
RUNNING 
READY 
BLOCKED 

Definition at line 60 of file thread.h.

Referenced by Thread::setStatus.


Function Documentation

void SWITCH Thread   oldThread,
Thread   newThread
 

Referenced by Scheduler::Run.

void ThreadPrint int    arg
 

Definition at line 238 of file thread.cc.

00238 { Thread *t = (Thread *)arg; t->Print(); }

void ThreadRoot  
 

Referenced by Thread::StackAllocate.


Generated on Mon Feb 10 09:54:52 2003 for nachos by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002
The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees