Process Class Reference

#include <process.hpp>

Inheritance diagram for Process:

Inheritance graph
[legend]
Collaboration diagram for Process:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual bool is_vmProcess () const
virtual bool is_deltaProcess () const
void abort ()
int thread_id () const

Static Public Member Functions

static bool external_suspend_current ()
static void external_resume_current ()
static void set_current (Process *p)
static Processcurrent ()

Protected Member Functions

void basic_transfer (Process *target)

Protected Attributes

Thread * _thread
int _thread_id
Event * _event

Static Protected Attributes

static Process_current_process

Detailed Description

Definition at line 64 of file process.hpp.


Member Function Documentation

void Process::abort (  ) 

void Process::basic_transfer ( Process target  )  [protected]

Definition at line 135 of file process.cpp.

References _event, _thread, outputStream::cr(), PrintableCHeapObj::print(), outputStream::print(), std, and os::transfer().

Referenced by DeltaProcess::transfer(), VMProcess::transfer_to(), and DeltaProcess::transfer_to_vm().

Here is the call graph for this function:

static Process* Process::current (  )  [inline, static]

Definition at line 81 of file process.hpp.

References _current_process.

Referenced by external_resume_current(), external_suspend_current(), and VMProcess::terminate().

void Process::external_resume_current (  )  [static]

Definition at line 131 of file process.cpp.

References _thread, current(), and os::resume_thread().

Referenced by real_time_tick().

Here is the call graph for this function:

bool Process::external_suspend_current (  )  [static]

Definition at line 125 of file process.cpp.

References _thread, current(), and os::suspend_thread().

Referenced by real_time_tick().

Here is the call graph for this function:

virtual bool Process::is_deltaProcess (  )  const [inline, virtual]

Reimplemented in DeltaProcess.

Definition at line 68 of file process.hpp.

virtual bool Process::is_vmProcess (  )  const [inline, virtual]

Reimplemented in VMProcess.

Definition at line 67 of file process.hpp.

static void Process::set_current ( Process p  )  [inline, static]

Definition at line 79 of file process.hpp.

References _current_process.

Referenced by DeltaProcess::transfer(), DeltaProcess::transfer_and_continue(), VMProcess::transfer_to(), and DeltaProcess::transfer_to_vm().

int Process::thread_id (  )  const [inline]

Definition at line 73 of file process.hpp.

References _thread_id.


Member Data Documentation

Process* Process::_current_process [static, protected]

Definition at line 92 of file process.hpp.

Referenced by current(), and set_current().

Event* Process::_event [protected]

Definition at line 90 of file process.hpp.

Referenced by basic_transfer(), DeltaProcess::DeltaProcess(), DeltaProcess::suspend_at_creation(), VMProcess::terminate(), DeltaProcess::transfer_and_continue(), VMProcess::VMProcess(), and DeltaProcess::wait_for_control().

Thread* Process::_thread [protected]

Definition at line 88 of file process.hpp.

Referenced by basic_transfer(), DeltaProcess::DeltaProcess(), external_resume_current(), external_suspend_current(), DeltaProcess::profile_top_frame(), VMProcess::terminate(), DeltaProcess::transfer_and_continue(), and VMProcess::VMProcess().

int Process::_thread_id [protected]

Definition at line 89 of file process.hpp.

Referenced by DeltaProcess::DeltaProcess(), thread_id(), and VMProcess::VMProcess().


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 14:13:44 2006 for Strongtalk VM by  doxygen 1.4.7