Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

process.h File Reference


Compounds

class  CSect
struct  PreservedList
class  Process
class  Processes

Typedefs

typedef void (* process_p )()
typedef nmethod* (* constructDoItMethodContinuation )(oop receiver, oop method)
typedef void (* intLookupContinuation )( simpleLookup* L, int32 arg_count )

Enumerations

enum  ProcessState { initialized, ready, stopped, aborting, defunct }
enum  PreemptCause { cNoCause, cTerminated, cAborted, cStackOverflowed, cNonLIFOBlock, cLastFatalCause, cYielded, cSingleStepped, cFinishedActivation, cSignal, cLowOnSpace, cCouldntAllocateStack, cLast }

Functions

bool isStackOverflow (char* sp)
bool isOnVMStack (void* sp)
bool isFatalCause (PreemptCause c)
oop zombie_prim ()
void preemptor ()
void interruptCheck ()
char* allocateResource (size_t size)
void switchToVMStack (doFn continuation)
oop switchToVMStack (fntype continuation, void* arg1)
nmethodswitchToVMStack (nmethod *cont(compilingLookup *), compilingLookup *L)
nmethodswitchToVMStack (oop receiver, oop method, constructDoItMethodContinuation continuation)
void switchToVMStack_intSend ( simpleLookup* L, int32 arg_count, intLookupContinuation continuation)

Variables

ProcessprevProcess
ProcesscurrentProcess
ProcesstwainsProcess
ProcessvmProcess
bool8 processSemaphore
bool ConversionInProgress
bool traceP
bool traceV
frameframeSwitchingToVMStack
PreemptCause preemptCause
int32 causeString [cLast]
oop yieldArg
oop yieldRcvr
Processesprocesses


Typedef Documentation

typedef void (* process_p)()

typedef nmethod* (* constructDoItMethodContinuation)(oop receiver, oop method)

typedef void (* intLookupContinuation)( simpleLookup* L, int32 arg_count )


Enumeration Type Documentation

enum ProcessState

Enumeration values:
initialized  
ready  
stopped  
aborting  
defunct  

enum PreemptCause

Enumeration values:
cNoCause  
cTerminated  
cAborted  
cStackOverflowed  
cNonLIFOBlock  
cLastFatalCause  
cYielded  
cSingleStepped  
cFinishedActivation  
cSignal  
cLowOnSpace  
cCouldntAllocateStack  
cLast  

Function Documentation

bool isStackOverflow (char * addr)

bool isOnVMStack (void * sp)

bool isFatalCause (PreemptCause c) [inline]

oop zombie_prim ()

void preemptor ()

void interruptCheck ()

char * allocateResource (size_t size) [inline]

void switchToVMStack (doFn continuation)

oop switchToVMStack (fntype continuation, void * arg1)

nmethod* switchToVMStack (nmethod *cont(compilingLookup *), compilingLookup * L)

nmethod* switchToVMStack (oop receiver, oop method, constructDoItMethodContinuation continuation)

void switchToVMStack_intSend (simpleLookup * L, int32 arg_count, intLookupContinuation continuation)


Variable Documentation

Process* prevProcess

Process* currentProcess

Process* twainsProcess

Process* vmProcess

bool8 processSemaphore

bool ConversionInProgress

bool traceP

bool traceV

frame* frameSwitchingToVMStack

PreemptCause preemptCause

int32 causeString[cLast]

oop yieldArg

oop yieldRcvr

Processes* processes


Generated at Tue Jun 27 12:06:58 2000 for SelfVM by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999