Main Page   Compound List   File List   Compound Members   File Members  

thread.cc File Reference

#include "copyright.h"
#include "thread.h"
#include "switch.h"
#include "synch.h"
#include "system.h"

Go to the source code of this file.

Defines

#define STACK_FENCEPOST   0xdeadbeef

Functions

void ThreadFinish ()
void InterruptEnable ()
void ThreadPrint (int arg)


Define Documentation

#define STACK_FENCEPOST   0xdeadbeef
 

Definition at line 23 of file thread.cc.

Referenced by Thread::CheckOverflow, and Thread::StackAllocate.


Function Documentation

void InterruptEnable   [static]
 

Definition at line 237 of file thread.cc.

Referenced by Thread::StackAllocate.

00237 { interrupt->Enable(); }

void ThreadFinish   [static]
 

Definition at line 236 of file thread.cc.

Referenced by Thread::StackAllocate.

00236 { currentThread->Finish(); }

void ThreadPrint int    arg
 

Definition at line 238 of file thread.cc.

References Thread::Print.

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


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