#include <RexxActivity.hpp>
Static Public Member Functions | |
static wholenumber_t | requestAccessCounter () |
static void | initializeThreadContext () |
Static Public Member Functions inherited from RexxInternalObject | |
static size_t | getObjectHeaderSize () |
Protected Member Functions | |
ExitHandler & | getExitHandler (int exitNum) |
bool | isExitEnabled (int exitNum) |
void | disableExit (int exitNum) |
Protected Member Functions inherited from RexxVirtualBase | |
virtual | ~RexxVirtualBase () |
virtual void | baseVirtual () |
Protected Attributes | |
InterpreterInstance * | instance |
ActivityContext | threadContext |
RexxActivity * | oldActivity |
RexxActivationStack | frameStack |
RexxDirectory * | conditionobj |
RexxTable * | requiresTable |
RexxMessage * | dispatchMessage |
RexxInternalStack * | activations |
size_t | activationStackSize |
size_t | stackFrameDepth |
RexxActivation * | currentRexxFrame |
RexxActivationBase * | topStackFrame |
RexxString * | currentExit |
RexxObject * | waitingObject |
SysSemaphore | runsem |
SysSemaphore | guardsem |
SysActivity | currentThread |
RexxDirectory * | threadLocalEnvironment |
NumericSettings * | numericSettings |
bool | stackcheck |
bool | exit |
bool | requestingString |
bool | suspended |
bool | interpreterRoot |
bool | attached |
size_t | nestedCount |
size_t | attachCount |
char * | stackBase |
bool | clauseExitUsed |
uint64_t | randomSeed |
ExitHandler | sysexits [LAST_EXIT] |
ProtectedObject * | protectedObjects |
ActivationFrame * | activationFrames |
RexxActivity * | nestedActivity |
Static Protected Attributes | |
static RexxThreadInterface | threadContextFunctions |
static MethodContextInterface | methodContextFunctions |
static CallContextInterface | callContextFunctions |
static ExitContextInterface | exitContextFunctions |
Friends | |
class | ProtectedObject |
class | ActivationFrame |
Additional Inherited Members | |
Public Attributes inherited from RexxInternalObject | |
ObjectHeader | header |
RexxBehaviour * | behaviour |
Definition at line 128 of file RexxActivity.hpp.
|
inline |
Definition at line 137 of file RexxActivity.hpp.
RexxActivity::RexxActivity | ( | ) |
RexxActivity::RexxActivity | ( | bool | createThread | ) |
Initialize an Activity object.
createThread | Indicates whether we're going to be running on the current thread, or creating a new thread. |
Definition at line 234 of file RexxActivity.cpp.
References ACT_STACK_SIZE, activate(), activations, activationStackSize, C_STACK_SIZE, RexxInternalObject::clearObject(), SysSemaphore::create(), SysActivity::create(), createNewActivationStack(), currentThread, frameStack, generateRandomNumberSeed(), Numerics::getDefaultSettings(), SysActivity::getStackBase(), guardsem, RexxActivationStack::init(), new_directory(), new_internalstack(), new_table(), numericSettings, requiresTable, SysSemaphore::reset(), runsem, SysSemaphore::setSemVariable(), stackBase, stackcheck, threadLocalEnvironment, TOTAL_STACK_SIZE, and SysActivity::useCurrentThread().
|
inline |
Definition at line 270 of file RexxActivity.hpp.
References nestedCount.
Referenced by enterCurrentThread(), InterpreterInstance::enterOnCurrentThread(), ActivityManager::getRootActivity(), RexxActivity(), and runThread().
|
inline |
Definition at line 300 of file RexxActivity.hpp.
References requiresTable, and RexxTable::stringAdd().
Referenced by InterpreterInstance::runRequires().
void RexxActivity::addToInstance | ( | InterpreterInstance * | interpreter | ) |
Set up an activity as a root activity used either for a main interpreter thread or an attached thread.
interpreter | The interpreter instance this thread belongs to. |
Definition at line 1991 of file RexxActivity.cpp.
References RexxThreadContext_::functions, InterpreterInstance::getInstanceContext(), RexxThreadContext_::instance, instance, ActivityContext::owningActivity, setupExits(), ActivityContext::threadContext, threadContext, and threadContextFunctions.
Referenced by setupAttachedActivity(), and InterpreterInstance::spawnActivity().
|
inline |
Definition at line 319 of file RexxActivity.hpp.
References RexxActivationStack::allocateFrame(), and frameStack.
Referenced by RexxActivation::run().
|
inline |
Definition at line 329 of file RexxActivity.hpp.
References RexxActivationStack::allocateFrame(), frameStack, RexxLocalVariables::setFrame(), and RexxLocalVariables::size.
Referenced by RexxLocalVariables::migrate(), RexxActivation::procedureExpose(), and RexxActivation::RexxActivation().
|
inline |
Definition at line 314 of file RexxActivity.hpp.
References RexxActivationStack::allocateFrame(), frameStack, and RexxExpressionStack::setFrame().
Referenced by RexxExpressionStack::migrate(), and RexxActivation::RexxActivation().
RexxString * RexxActivity::buildMessage | ( | wholenumber_t | messageCode, |
RexxArray * | substitutions | ||
) |
Build a message and perform the indicated substitutions.
messageCode | The target message code |
substitutions | An array of substitution values |
Definition at line 1301 of file RexxActivity.cpp.
References Error_Execution_error_condition, SystemInterpreter::getMessageText(), messageSubstitution(), OREF_NULL, and reportException().
Referenced by createExceptionObject(), RexxNativeActivation::createStackFrame(), InternalActivationFrame::createStackFrame(), RexxActivation::formatSourcelessTraceLine(), RexxSource::traceBack(), and RexxActivation::traceEntry().
bool RexxActivity::callCommandExit | ( | RexxActivation * | activation, |
RexxString * | address, | ||
RexxString * | command, | ||
ProtectedObject & | result, | ||
ProtectedObject & | condition | ||
) |
Definition at line 2786 of file RexxActivity.cpp.
References callExit(), SecurityManager::checkCommand(), createConditionObject(), DEFRXSTRING, RexxActivation::getEffectiveSecurityManager(), RexxString::getLength(), RexxString::getStringData(), isExitEnabled(), MAKERXSTRING, new_string(), OREF_NULL, SystemInterpreter::releaseResultMemory(), RXCMD, _RXCMDHST_PARM::rxcmd_address, _RXCMDHST_PARM::rxcmd_addressl, _RXCMDHST_PARM::rxcmd_command, _RXCMDHST_PARM::rxcmd_dll, _RXCMDHST_PARM::rxcmd_dll_len, _RXCMDHST_PARM::rxcmd_flags, _RXCMDHST_PARM::rxcmd_retc, RXCMDHST, _RXCMD_FLAGS::rxfcerr, _RXCMD_FLAGS::rxfcfail, _RXSTRING::strptr, and RexxString::toRxstring().
Referenced by RexxActivation::command().
bool RexxActivity::callDebugInputExit | ( | RexxActivation * | activation, |
RexxString *& | inputstring | ||
) |
Definition at line 2503 of file RexxActivity.cpp.
References callExit(), DEFRXSTRING, isExitEnabled(), MAKERXSTRING, new_string(), SystemInterpreter::releaseResultMemory(), RXSIO, RXSIODTR, _RXSIOTRD_PARM::rxsiotrd_retc, and _RXSTRING::strptr.
Referenced by traceInput().
bool RexxActivity::callExit | ( | RexxActivation * | activation, |
const char * | exitName, | ||
int | function, | ||
int | subfunction, | ||
void * | exitbuffer | ||
) |
Call an individual exit handler.
activation | The activation this is in the context of. |
exitName | The logical name of the handler. |
function | The exit function. |
subfunction | The exit subfunction. |
exitbuffer | The parameter structure for the exit in question. |
Definition at line 2380 of file RexxActivity.cpp.
References ExitHandler::call(), disableExit(), Error_System_service_service, getExitHandler(), reportException(), RXEXIT_HANDLED, RXEXIT_RAISE_ERROR, and RXSIO.
Referenced by callCommandExit(), callDebugInputExit(), callFunctionExit(), callHaltClearExit(), callHaltTestExit(), callInitializationExit(), callNovalueExit(), callObjectFunctionExit(), callPullExit(), callPushExit(), callQueueNameExit(), callQueueSizeExit(), callSayExit(), callScriptingExit(), callTerminalInputExit(), callTerminationExit(), callTraceExit(), callTraceTestExit(), and callValueExit().
bool RexxActivity::callFunctionExit | ( | RexxActivation * | activation, |
RexxString * | rname, | ||
RexxObject * | calltype, | ||
ProtectedObject & | funcresult, | ||
RexxObject ** | arguments, | ||
size_t | argcount | ||
) |
Definition at line 2537 of file RexxActivity.cpp.
References SystemInterpreter::allocateResultMemory(), callExit(), DEFRXSTRING, Error_Function_no_data_function, Error_Incorrect_call_external, Error_Routine_not_found_name, Error_System_resources, Interpreter::getCurrentQueue(), RexxString::getLength(), RexxString::getStringData(), isExitEnabled(), MAKERXSTRING, Numerics::maxVal(), new_string(), OREF_NULL, SystemInterpreter::releaseResultMemory(), reportException(), REQUEST_STRING(), _RXFNC_FLAGS::rxfferr, _RXFNC_FLAGS::rxffnfnd, _RXFNC_FLAGS::rxffsub, RXFNC, _RXFNCCAL_PARM::rxfnc_argc, _RXFNCCAL_PARM::rxfnc_argv, _RXFNCCAL_PARM::rxfnc_flags, _RXFNCCAL_PARM::rxfnc_name, _RXFNCCAL_PARM::rxfnc_namel, _RXFNCCAL_PARM::rxfnc_que, _RXFNCCAL_PARM::rxfnc_quel, _RXFNCCAL_PARM::rxfnc_retc, RXFNCCAL, _RXSTRING::strptr, and RexxString::toRxstring().
Referenced by RexxActivation::externalCall().
bool RexxActivity::callHaltClearExit | ( | RexxActivation * | activation | ) |
Definition at line 3012 of file RexxActivity.cpp.
References callExit(), isExitEnabled(), RXHLT, and RXHLTCLR.
Referenced by RexxActivation::trap().
bool RexxActivity::callHaltTestExit | ( | RexxActivation * | activation | ) |
Definition at line 2982 of file RexxActivity.cpp.
References callExit(), RexxActivation::halt(), isExitEnabled(), OREF_NULL, _RXHLT_FLAGS::rxfhhalt, RXHLT, _RXHLTTST_PARM::rxhlt_flags, and RXHLTTST.
Referenced by RexxActivation::processClauseBoundary().
void RexxActivity::callInitializationExit | ( | RexxActivation * | activation | ) |
Definition at line 2404 of file RexxActivity.cpp.
References callExit(), isExitEnabled(), RXINI, and RXINIEXT.
Referenced by RexxActivation::run().
bool RexxActivity::callNovalueExit | ( | RexxActivation * | activation, |
RexxString * | variableName, | ||
RexxObject *& | value | ||
) |
Definition at line 3071 of file RexxActivity.cpp.
References callExit(), isExitEnabled(), NULLOBJECT, RXNOVAL, RXNOVALCALL, _RXVARNOVALUE_PARM::value, and _RXVARNOVALUE_PARM::variable_name.
Referenced by RexxActivation::handleNovalueEvent().
bool RexxActivity::callObjectFunctionExit | ( | RexxActivation * | activation, |
RexxString * | rname, | ||
RexxObject * | calltype, | ||
ProtectedObject & | funcresult, | ||
RexxObject ** | arguments, | ||
size_t | argcount, | ||
size_t | named_argcount | ||
) |
Definition at line 2653 of file RexxActivity.cpp.
References callExit(), SecurityManager::checkFunctionCall(), Error_Function_no_data_function, Error_Incorrect_call_external, Error_Routine_not_found_name, RexxActivation::getEffectiveSecurityManager(), isExitEnabled(), NULLOBJECT, OREF_NULL, reportException(), _RXOFNC_FLAGS::rxfferr, _RXOFNC_FLAGS::rxffnfnd, _RXOFNC_FLAGS::rxffsub, _RXOFNCCAL_PARM::rxfnc_argc, _RXOFNCCAL_PARM::rxfnc_argv, _RXOFNCCAL_PARM::rxfnc_flags, _RXOFNCCAL_PARM::rxfnc_name, _RXOFNCCAL_PARM::rxfnc_retc, RXOFNC, RXOFNCCAL, and RexxString::toRxstring().
Referenced by RexxActivation::externalCall().
bool RexxActivity::callPullExit | ( | RexxActivation * | activation, |
RexxString *& | inputstring | ||
) |
Definition at line 2846 of file RexxActivity.cpp.
References callExit(), DEFRXSTRING, isExitEnabled(), MAKERXSTRING, new_string(), SystemInterpreter::releaseResultMemory(), RXMSQ, _RXMSQPLL_PARM::rxmsq_retc, RXMSQPLL, _RXSTRING::strptr, and TheNilObject.
Referenced by pullInput().
bool RexxActivity::callPushExit | ( | RexxActivation * | activation, |
RexxString * | inputstring, | ||
int | lifo_flag | ||
) |
Definition at line 2887 of file RexxActivity.cpp.
References callExit(), isExitEnabled(), QUEUE_LIFO, _RXMSQ_FLAGS::rxfmlifo, RXMSQ, _RXMSQPSH_PARM::rxmsq_flags, _RXMSQPSH_PARM::rxmsq_value, RXMSQPSH, and RexxString::toRxstring().
Referenced by queue().
bool RexxActivity::callQueueNameExit | ( | RexxActivation * | activation, |
RexxString *& | inputstring | ||
) |
Definition at line 2949 of file RexxActivity.cpp.
References callExit(), DEFRXSTRING, RexxString::getLength(), RexxString::getStringData(), isExitEnabled(), MAKERXSTRING, new_string(), SystemInterpreter::releaseResultMemory(), RXMSQ, _RXMSQNAM_PARM::rxmsq_name, RXMSQNAM, and _RXSTRING::strptr.
bool RexxActivity::callQueueSizeExit | ( | RexxActivation * | activation, |
RexxInteger *& | returnsize | ||
) |
Definition at line 2924 of file RexxActivity.cpp.
References callExit(), isExitEnabled(), new_integer(), RXMSQ, _RXMSQSIZ_PARM::rxmsq_size, and RXMSQSIZ.
bool RexxActivity::callSayExit | ( | RexxActivation * | activation, |
RexxString * | sayoutput | ||
) |
Definition at line 2434 of file RexxActivity.cpp.
References callExit(), isExitEnabled(), RXSIO, _RXSIOSAY_PARM::rxsio_string, RXSIOSAY, and RexxString::toRxstring().
Referenced by sayOutput().
bool RexxActivity::callScriptingExit | ( | RexxActivation * | activation, |
RexxString * | rname, | ||
RexxObject * | calltype, | ||
ProtectedObject & | funcresult, | ||
RexxObject ** | arguments, | ||
size_t | argcount | ||
) |
Definition at line 2725 of file RexxActivity.cpp.
References callExit(), Error_Function_no_data_function, Error_Incorrect_call_external, Error_Routine_not_found_name, isExitEnabled(), NULLOBJECT, reportException(), RXEXF, RXEXFCAL, _RXEXF_FLAGS::rxfferr, _RXEXF_FLAGS::rxffnfnd, _RXEXF_FLAGS::rxffsub, _RXEXFCAL_PARM::rxfnc_argc, _RXEXFCAL_PARM::rxfnc_argv, _RXEXFCAL_PARM::rxfnc_flags, _RXEXFCAL_PARM::rxfnc_name, _RXEXFCAL_PARM::rxfnc_retc, and RexxString::toRxstring().
Referenced by RexxActivation::externalCall().
bool RexxActivity::callTerminalInputExit | ( | RexxActivation * | activation, |
RexxString *& | inputstring | ||
) |
Definition at line 2469 of file RexxActivity.cpp.
References callExit(), DEFRXSTRING, isExitEnabled(), MAKERXSTRING, new_string(), SystemInterpreter::releaseResultMemory(), RXSIO, RXSIOTRD, _RXSIOTRD_PARM::rxsiotrd_retc, and _RXSTRING::strptr.
Referenced by lineIn().
void RexxActivity::callTerminationExit | ( | RexxActivation * | activation | ) |
Definition at line 2421 of file RexxActivity.cpp.
References callExit(), isExitEnabled(), RXTER, and RXTEREXT.
Referenced by RexxActivation::exitFrom(), RexxActivation::implicitExit(), RexxActivation::raiseExit(), and RexxActivation::returnFrom().
bool RexxActivity::callTraceExit | ( | RexxActivation * | activation, |
RexxString * | traceoutput | ||
) |
Definition at line 2452 of file RexxActivity.cpp.
References callExit(), isExitEnabled(), RXSIO, _RXSIOSAY_PARM::rxsio_string, RXSIOTRC, and RexxString::toRxstring().
Referenced by traceOutput().
bool RexxActivity::callTraceTestExit | ( | RexxActivation * | activation, |
bool | currentsetting | ||
) |
Definition at line 3033 of file RexxActivity.cpp.
References callExit(), RexxActivation::externalTraceOff(), RexxActivation::externalTraceOn(), isExitEnabled(), _RXTRC_FLAGS::rxftrace, RXTRC, _RXTRCTST_PARM::rxtrc_flags, and RXTRCTST.
Referenced by RexxActivation::processClauseBoundary().
bool RexxActivity::callValueExit | ( | RexxActivation * | activation, |
RexxString * | selector, | ||
RexxString * | variableName, | ||
RexxObject * | newValue, | ||
RexxObject *& | value | ||
) |
Definition at line 3097 of file RexxActivity.cpp.
References callExit(), isExitEnabled(), RXVALUE, RXVALUECALL, _RXVALCALL_PARM::selector, _RXVALCALL_PARM::value, and _RXVALCALL_PARM::variable_name.
void RexxActivity::checkActivationStack | ( | ) |
Check the activation stack to see if we need to expand the size.
Definition at line 1738 of file RexxActivity.cpp.
References ACT_STACK_SIZE, activations, activationStackSize, new_internalstack(), RexxInternalStack::peek(), RexxInternalStack::push(), and stackFrameDepth.
Referenced by createNewActivationStack(), and pushStackFrame().
void RexxActivity::checkDeadLock | ( | RexxActivity * | targetActivity | ) |
Definition at line 2092 of file RexxActivity.cpp.
References checkDeadLock(), Error_Execution_deadlock, isOfClass, OREF_NULL, reportException(), and waitingObject.
Referenced by checkDeadLock(), RexxVariableDictionary::reserve(), and RexxMessage::result().
|
inline |
Definition at line 303 of file RexxActivity.hpp.
References OREF_NULL, and runningRequires().
Referenced by PackageManager::getMacroSpaceRequires(), and PackageManager::getRequiresFile().
void RexxActivity::checkStackSpace | ( | ) |
Definition at line 2296 of file RexxActivity.cpp.
References Error_Control_stack_full, MIN_C_STACK, reportException(), stackBase, and stackcheck.
Referenced by RexxCode::call(), RexxExpressionFunction::evaluate(), RexxInstructionCall::execute(), RexxActivation::interpret(), and RexxObject::messageSend().
void RexxActivity::cleanupActivityResources | ( | ) |
Do cleanup of activity resources when an activity is completely shutdown and discarded.
Definition at line 175 of file RexxActivity.cpp.
References SysSemaphore::close(), SysActivity::close(), currentThread, guardsem, and runsem.
Referenced by ActivityManager::poolActivity(), and ActivityManager::returnRootActivity().
void RexxActivity::cleanupStackFrame | ( | RexxActivationBase * | poppedStackFrame | ) |
Definition at line 1863 of file RexxActivity.cpp.
References RexxInternalObject::setHasNoReferences(), and RexxActivationBase::termination().
Referenced by popStackFrame().
|
inline |
Definition at line 335 of file RexxActivity.hpp.
References conditionobj, and OREF_NULL.
Referenced by run(), and RexxActivation::trap().
|
inline |
Definition at line 305 of file RexxActivity.hpp.
References SysSemaphore::reset(), and runsem.
Referenced by ActivityManager::addWaitingActivity().
void RexxActivity::createCallContext | ( | CallContext & | context, |
RexxNativeActivation * | owner | ||
) |
Set up a call context for use before a call out.
context | The method context to initialize. |
owner | The native activation that owns this context. |
Definition at line 3527 of file RexxActivity.cpp.
References callContextFunctions, CallContext::context, RexxCallContext_::functions, RexxCallContext_::threadContext, ActivityContext::threadContext, CallContext::threadContext, and threadContext.
Referenced by RexxNativeActivation::callNativeRoutine().
RexxDirectory * RexxActivity::createConditionObject | ( | RexxString * | condition, |
RexxObject * | rc, | ||
RexxString * | description, | ||
RexxObject * | additional, | ||
RexxObject * | result | ||
) |
Create a condition object from the provided information.
condition | The name of the raised condition. |
rc | The rc value (can be null) |
description | The description string. |
additional | Additional information. |
result | result information. |
Definition at line 503 of file RexxActivity.cpp.
References generateProgramInformation(), new_directory(), OREF_NULL, RexxDirectory::put(), and TheFalseObject.
Referenced by callCommandExit(), SecurityManager::checkCommand(), RexxActivation::command(), CommandHandlerDispatcher::complete(), and raiseCondition().
RexxDirectory * RexxActivity::createExceptionObject | ( | wholenumber_t | errcode, |
RexxString * | description, | ||
RexxArray * | additional, | ||
RexxObject * | result | ||
) |
Create a new error exception object.
errcode | The error code to raise. |
description | The description string. |
additional | Message substitution information. |
result | The result object. |
Definition at line 1103 of file RexxActivity.cpp.
References buildMessage(), Error_Execution_error_condition, generateProgramInformation(), SystemInterpreter::getMessageText(), new_array(), new_directory(), new_integer(), new_string(), OREF_NULL, RexxDirectory::put(), reportException(), TheFalseObject, TheNilObject, and work.
Referenced by raiseException().
void RexxActivity::createExitContext | ( | ExitContext & | context, |
RexxNativeActivation * | owner | ||
) |
Set up an exit context for use before a call out.
context | The method context to initialize. |
owner | The native activation that owns this context. |
Definition at line 3535 of file RexxActivity.cpp.
References ExitContext::context, exitContextFunctions, RexxExitContext_::functions, RexxExitContext_::threadContext, ActivityContext::threadContext, ExitContext::threadContext, and threadContext.
Referenced by ContextCommandHandlerDispatcher::run(), and ContextExitHandlerDispatcher::run().
void RexxActivity::createMethodContext | ( | MethodContext & | context, |
RexxNativeActivation * | owner | ||
) |
Set up a method context for use before a call out.
context | The method context to initialize. |
owner | The native activation that owns this context. |
Definition at line 3512 of file RexxActivity.cpp.
References MethodContext::context, RexxMethodContext_::functions, methodContextFunctions, RexxMethodContext_::threadContext, ActivityContext::threadContext, MethodContext::threadContext, and threadContext.
Referenced by RexxNativeActivation::run().
void RexxActivity::createNewActivationStack | ( | ) |
Create a new set of activation stack frames on this activity. The new frame will have a RexxNativeActivation that's marked as a stack base frame. Additional call frames are pushed on top of that activation. Any operations that unwind the stack frames will stop when they hit the activation stack base.
Definition at line 1810 of file RexxActivity.cpp.
References activations, checkActivationStack(), ActivityManager::newNativeActivation(), RexxInternalStack::push(), RexxNativeActivation::setStackBase(), stackFrameDepth, and updateFrameMarkers().
Referenced by RexxMemory::createImage(), RexxActivity(), run(), and setupAttachedActivity().
|
inline |
Definition at line 271 of file RexxActivity.hpp.
References nestedCount.
Referenced by Interpreter::createInstance(), exitCurrentThread(), and runThread().
void RexxActivity::detachInstance | ( | ) |
Cleanup the resources for a detached activity, including removing the suspended state from a pushed activity nest.
Definition at line 2047 of file RexxActivity.cpp.
References attached, instance, nestedActivity, OREF_NULL, and setSuspended().
Referenced by InterpreterInstance::poolActivity(), and ActivityManager::returnRootActivity().
void RexxActivity::detachThread | ( | ) |
Detach a thread from the interpreter instance,
Definition at line 2038 of file RexxActivity.cpp.
References InterpreterInstance::detachThread(), and instance.
Referenced by DetachThread().
|
inlineprotected |
Definition at line 354 of file RexxActivity.hpp.
References ExitHandler::disable(), and getExitHandler().
Referenced by callExit().
RexxObject * RexxActivity::display | ( | RexxDirectory * | exobj | ) |
Definition at line 1479 of file RexxActivity.cpp.
References RexxDirectory::at(), RexxString::concat(), RexxString::concatWith(), RexxString::concatWithCstring(), currentRexxFrame, RexxArray::get(), SystemInterpreter::getMessageHeader(), SystemInterpreter::getMessageText(), RexxList::makeArray(), Message_Translations_error, Message_Translations_line, Message_Translations_running, Interpreter::messageNumber(), OREF_NULL, REQUEST_STRING(), RexxArray::size(), TheNilObject, and traceOutput().
Referenced by displayCondition().
wholenumber_t RexxActivity::displayCondition | ( | RexxDirectory * | errorInfo | ) |
Display error information and traceback lines for a Syntax condition.
errorInfo | The condition object with the error information |
Definition at line 391 of file RexxActivity.cpp.
References RexxDirectory::at(), display(), Error_Interpretation, RexxString::isEqual(), RexxObject::numberValue(), and OREF_NULL.
Referenced by DisplayCondition(), and error().
RexxObject * RexxActivity::displayDebug | ( | RexxDirectory * | exobj | ) |
Definition at line 1596 of file RexxActivity.cpp.
References RexxDirectory::at(), RexxString::concat(), RexxString::concatWith(), RexxString::concatWithCstring(), currentRexxFrame, getCurrentRexxFrame(), SystemInterpreter::getMessageText(), Message_Translations_debug_error, OREF_NULL, REQUEST_STRING(), TheNilObject, and traceOutput().
Referenced by RexxActivation::trap().
void RexxActivity::enterCurrentThread | ( | ) |
Enter the current thread for an API call.
Definition at line 205 of file RexxActivity.cpp.
References activate(), ActivityManager::currentActivity, and requestAccess().
Referenced by ApiContext::ApiContext(), and ActivityManager::getActivity().
void RexxActivity::enterKernel | ( | ) |
Definition at line 2081 of file RexxActivity.cpp.
References popStackFrame(), and requestAccess().
Referenced by CalloutBlock::~CalloutBlock().
wholenumber_t RexxActivity::error | ( | ) |
Definition at line 338 of file RexxActivity.cpp.
References conditionobj, displayCondition(), RexxActivationBase::isStackBase(), popStackFrame(), RexxActivationBase::termination(), and topStackFrame.
Referenced by RexxMemory::createImage(), MessageDispatcher::handleError(), RexxStartDispatcher::handleError(), TranslateDispatcher::handleError(), run(), and runThread().
wholenumber_t RexxActivity::error | ( | RexxActivationBase * | activation, |
RexxDirectory * | errorInfo | ||
) |
Definition at line 357 of file RexxActivity.cpp.
References conditionobj, displayCondition(), OREF_NULL, popStackFrame(), RexxActivationBase::termination(), and topStackFrame.
wholenumber_t RexxActivity::errorNumber | ( | RexxDirectory * | conditionObject | ) |
Extract an error number from a syntax condition object.
conditionObject | The condition object for the extract. |
Definition at line 423 of file RexxActivity.cpp.
References RexxDirectory::at(), Error_Interpretation, RexxObject::numberValue(), and OREF_NULL.
Referenced by ActivityDispatcher::handleError().
void RexxActivity::exitCurrentThread | ( | ) |
We're leaving the current thread. So we need to deactivate this.
Definition at line 187 of file RexxActivity.cpp.
References deactivate(), isInactive(), memoryObject, releaseAccess(), RexxMemory::runUninits(), and RexxMemory::verboseMessage().
Referenced by InterpreterInstance::exitCurrentThread(), ApiContext::~ApiContext(), InstanceBlock::~InstanceBlock(), and NativeContextBlock::~NativeContextBlock().
void RexxActivity::exitKernel | ( | ) |
Definition at line 2060 of file RexxActivity.cpp.
References currentRexxFrame, RexxNativeActivation::enableVariablepool(), ActivityManager::newNativeActivation(), pushStackFrame(), and releaseAccess().
Referenced by CalloutBlock::CalloutBlock().
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 1693 of file RexxActivity.cpp.
void RexxActivity::generateProgramInformation | ( | RexxDirectory * | exobj | ) |
Add program location-specific information to a condition object.
exobj | The exception object being constructed. |
Definition at line 1202 of file RexxActivity.cpp.
References activationFrames, RexxList::append(), ActivationFrame::createStackFrame(), StackFrameClass::getLine(), RexxSource::getPackage(), RexxSource::getProgramName(), ActivationFrame::getSource(), StackFrameClass::getTraceLine(), RexxInternalObject::isOldSpace(), new_list(), ActivationFrame::next, OREF_NULL, RexxDirectory::put(), and TheNilObject.
Referenced by createConditionObject(), and createExceptionObject().
void RexxActivity::generateRandomNumberSeed | ( | ) |
Definition at line 313 of file RexxActivity.cpp.
References RexxDateTime::getBaseTime(), SystemInterpreter::getCurrentTime(), RANDOMIZE(), and randomSeed.
Referenced by RexxActivity(), and run().
RexxArray * RexxActivity::generateStackFrames | ( | bool | skipFirst | ) |
Generate a list of stack frames for an Exception object.
skipFirst | Determines if we should skip the first frame. Used primarily for the RexxContext stackFrames() method to avoid returning the stackframes method as the first item. |
Definition at line 1266 of file RexxActivity.cpp.
References activationFrames, RexxArray::append(), ActivationFrame::createStackFrame(), new_array(), and ActivationFrame::next.
Referenced by RexxActivation::getStackFrames().
|
inline |
Definition at line 297 of file RexxActivity.hpp.
References stackFrameDepth.
|
inline |
Definition at line 274 of file RexxActivity.hpp.
References nestedCount.
Referenced by RexxNativeActivation::callNativeRoutine(), RexxNativeActivation::callRegisteredRoutine(), messageSubstitution(), run(), RexxNativeActivation::run(), and runThread().
|
inline |
Definition at line 312 of file RexxActivity.hpp.
References topStackFrame.
Referenced by ApiContext::ApiContext(), contextToActivation(), and run().
|
inline |
Definition at line 334 of file RexxActivity.hpp.
References conditionobj.
|
inline |
Definition at line 295 of file RexxActivity.hpp.
References currentRexxFrame.
Referenced by RexxCode::call(), RexxString::checkTE(), displayDebug(), RexxActivation::exitFrom(), RexxNativeActivation::fetchNext(), RexxMethod::newMethodObject(), RoutineClass::newRoutineObject(), raiseException(), reraiseException(), and RexxCode::run().
SecurityManager * RexxActivity::getEffectiveSecurityManager | ( | ) |
Retrieve the current security manager instance.
Definition at line 3133 of file RexxActivity.cpp.
References InterpreterInstance::getSecurityManager(), RexxActivationBase::getSecurityManager(), instance, OREF_NULL, and topStackFrame.
Referenced by RexxDirectory::atRexx(), PackageManager::loadRequires(), and RexxObject::processProtectedMethod().
|
inlineprotected |
Definition at line 352 of file RexxActivity.hpp.
References sysexits.
Referenced by callExit(), disableExit(), isExitEnabled(), and setExitHandler().
|
inline |
Definition at line 265 of file RexxActivity.hpp.
References instance.
Referenced by LoadPackage(), LoadPackageFromData(), RexxSource::loadRequires(), PackageClass::newRexx(), ReleaseGlobalReference(), RequestGlobalReference(), RexxSource::resolveProgramName(), RexxActivation::RexxActivation(), RexxStartDispatcher::run(), RexxActivation::run(), and RoutineClass::runProgram().
SecurityManager * RexxActivity::getInstanceSecurityManager | ( | ) |
Return the security manager in effect for this instance.
Definition at line 3154 of file RexxActivity.cpp.
References InterpreterInstance::getSecurityManager(), and instance.
Referenced by RexxNativeActivation::callNativeRoutine(), RexxNativeActivation::callRegisteredRoutine(), RexxActivation::getEffectiveSecurityManager(), RexxActivation::RexxActivation(), and RexxNativeActivation::run().
RexxString * RexxActivity::getLastMessageName | ( | ) |
Get the name of the last message invocation.
Definition at line 3613 of file RexxActivity.cpp.
References activationFrames, and ActivationFrame::messageName().
Referenced by lastMessageName().
RexxMethod * RexxActivity::getLastMethod | ( | ) |
Get the method for the last method invocation.
Definition at line 3624 of file RexxActivity.cpp.
References activationFrames, and ActivationFrame::method().
Referenced by lastMethod().
RexxDirectory * RexxActivity::getLocal | ( | ) |
Definition at line 2322 of file RexxActivity.cpp.
References InterpreterInstance::getLocal(), and instance.
Referenced by ActivityManager::getLocal(), and GetLocalEnvironment().
RexxObject * RexxActivity::getLocalEnvironment | ( | RexxString * | name | ) |
Retrieve a value from the instance local environment.
name | The name of the .local object. |
Definition at line 3574 of file RexxActivity.cpp.
References InterpreterInstance::getLocalEnvironment(), and instance.
Referenced by ActivityManager::getLocalEnvironment(), RexxActivation::getLocalEnvironment(), lineIn(), pullInput(), queue(), sayOutput(), traceInput(), and traceOutput().
|
inline |
Definition at line 281 of file RexxActivity.hpp.
References nestedActivity.
|
inline |
Definition at line 298 of file RexxActivity.hpp.
References numericSettings.
Referenced by ActivityManager::addWaitingActivity().
|
inline |
Definition at line 306 of file RexxActivity.hpp.
References randomSeed.
Referenced by RexxActivation::RexxActivation().
|
inline |
Definition at line 311 of file RexxActivity.hpp.
References ActivityContext::threadContext, and threadContext.
Referenced by InterpreterInstance::attachThread(), and InterpreterInstance::getRootThreadContext().
RexxDirectory * RexxActivity::getThreadLocal | ( | ) |
Definition at line 2330 of file RexxActivity.cpp.
References threadLocalEnvironment.
Referenced by RexxActivation::getThreadLocal().
|
inline |
Definition at line 296 of file RexxActivity.hpp.
References topStackFrame.
Referenced by RexxObject::checkPackage(), RexxObject::checkPrivate(), RexxObject::decodeMessageName(), RexxNumberString::maxMin(), NativeContextBlock::NativeContextBlock(), raiseCondition(), raiseException(), raisePropagate(), RexxMessage::send(), RexxMessage::sendNotification(), and unwindToFrame().
void RexxActivity::guardPost | ( | ) |
Definition at line 2141 of file RexxActivity.cpp.
References guardsem, and SysSemaphore::post().
void RexxActivity::guardSet | ( | ) |
Definition at line 2149 of file RexxActivity.cpp.
References guardsem, and SysSemaphore::reset().
Referenced by RexxInstructionGuard::execute().
void RexxActivity::guardWait | ( | ) |
Definition at line 2131 of file RexxActivity.cpp.
References guardsem, releaseAccess(), requestAccess(), and SysSemaphore::wait().
Referenced by RexxActivation::guardWait().
bool RexxActivity::halt | ( | RexxString * | d | ) |
Tap the current running activation on this activity to halt as soon as possible.
d | The description string for the halt. |
Definition at line 2210 of file RexxActivity.cpp.
References currentRexxFrame, and RexxActivation::halt().
Referenced by ActivityManager::haltActivity(), InterpreterInstance::haltAllActivities(), and HaltThread().
void RexxActivity::inheritSettings | ( | RexxActivity * | parent | ) |
Inherit all activity-specific settings from a parent activity.
parent | The source of the setting information. |
Definition at line 3495 of file RexxActivity.cpp.
References clauseExitUsed, LAST_EXIT, and sysexits.
Referenced by ActivityManager::createNewActivity().
|
static |
Complete initialization of the thread context function vector by filling in the constant objects.
Definition at line 2026 of file RexxActivity.cpp.
References RexxThreadInterface::RexxFalse, RexxThreadInterface::RexxNil, RexxThreadInterface::RexxNullString, RexxThreadInterface::RexxTrue, TheFalseObject, TheNilObject, TheTrueObject, and threadContextFunctions.
Referenced by RexxMemory::createImage(), and RexxMemory::restoreImage().
|
inline |
Definition at line 272 of file RexxActivity.hpp.
References nestedCount.
Referenced by InterpreterInstance::detachThread(), InterpreterInstance::haltAllActivities(), InterpreterInstance::removeInactiveActivities(), InterpreterInstance::terminate(), and InterpreterInstance::traceAllActivities().
|
inline |
Definition at line 282 of file RexxActivity.hpp.
References attached.
Referenced by InterpreterInstance::detachThread().
|
inline |
Definition at line 231 of file RexxActivity.hpp.
References clauseExitUsed.
|
inlineprotected |
Definition at line 353 of file RexxActivity.hpp.
References getExitHandler(), and ExitHandler::isEnabled().
Referenced by callCommandExit(), callDebugInputExit(), callFunctionExit(), callHaltClearExit(), callHaltTestExit(), callInitializationExit(), callNovalueExit(), callObjectFunctionExit(), callPullExit(), callPushExit(), callQueueNameExit(), callQueueSizeExit(), callSayExit(), callScriptingExit(), callTerminalInputExit(), callTerminationExit(), callTraceExit(), callTraceTestExit(), callValueExit(), and queryTrcHlt().
|
inline |
Definition at line 273 of file RexxActivity.hpp.
References nestedCount.
Referenced by exitCurrentThread().
|
inline |
Definition at line 278 of file RexxActivity.hpp.
References interpreterRoot.
|
inline |
Definition at line 268 of file RexxActivity.hpp.
References attachCount.
Referenced by InterpreterInstance::detachThread().
|
inline |
Definition at line 276 of file RexxActivity.hpp.
References suspended.
Referenced by InterpreterInstance::findActivity(), and ActivityManager::findActivity().
|
inline |
Definition at line 230 of file RexxActivity.hpp.
References currentThread, and SysActivity::equals().
Referenced by InterpreterInstance::findActivity(), and ActivityManager::findActivity().
void RexxActivity::joinKernelQueue | ( | ) |
void RexxActivity::kill | ( | RexxDirectory * | conditionObj | ) |
Definition at line 2167 of file RexxActivity.cpp.
References conditionobj, and UnhandledCondition.
Referenced by raisePropagate().
RexxString * RexxActivity::lineIn | ( | RexxActivation * | activation | ) |
Definition at line 3308 of file RexxActivity.cpp.
References callTerminalInputExit(), getLocalEnvironment(), OREF_NULL, RexxObject::sendMessage(), and TheNilObject.
Referenced by RexxInstructionParse::execute(), and pullInput().
RexxObject * RexxActivity::lineOut | ( | RexxString * | line | ) |
Definition at line 3293 of file RexxActivity.cpp.
References IntegerZero, and line.
Referenced by sayOutput(), and traceOutput().
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 1643 of file RexxActivity.cpp.
References activations, conditionobj, currentRexxFrame, dispatchMessage, frameStack, RexxActivationStack::live(), memory_mark, ProtectedObject::next, ProtectedObject::protectedObject, protectedObjects, requiresTable, threadLocalEnvironment, topStackFrame, and waitingObject.
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 1668 of file RexxActivity.cpp.
References activations, conditionobj, currentRexxFrame, dispatchMessage, frameStack, RexxActivationStack::liveGeneral(), memory_mark_general, ProtectedObject::next, ProtectedObject::protectedObject, protectedObjects, requiresTable, threadLocalEnvironment, topStackFrame, and waitingObject.
RexxString * RexxActivity::messageSubstitution | ( | RexxString * | message, |
RexxArray * | additional | ||
) |
Definition at line 1315 of file RexxActivity.cpp.
References RexxString::concat(), RexxObject::defaultName(), RexxString::extract(), RexxArray::get(), getActivationLevel(), RexxString::getChar(), RexxString::getLength(), new_string(), OREF_NULL, RexxString::pos(), requestingString, restoreActivationLevel(), RexxArray::size(), stackcheck, and RexxObject::stringValue().
Referenced by buildMessage(), and reraiseException().
|
inline |
Definition at line 267 of file RexxActivity.hpp.
References attachCount.
Referenced by InterpreterInstance::attachThread().
|
inline |
Definition at line 134 of file RexxActivity.hpp.
|
inline |
Definition at line 135 of file RexxActivity.hpp.
|
inline |
Definition at line 133 of file RexxActivity.hpp.
void * RexxActivity::operator new | ( | size_t | size | ) |
Definition at line 217 of file RexxActivity.cpp.
References new_object(), and T_Activity.
void RexxActivity::popStackFrame | ( | bool | reply | ) |
Pop the top activation from the frame stack.
reply | Indicates we're popping the frame for a reply operation. In that case, we can't return the frame to the activation cache. |
Definition at line 1832 of file RexxActivity.cpp.
References activations, RexxInternalStack::fastPop(), RexxActivationBase::isStackBase(), RexxInternalStack::push(), RexxInternalObject::setHasNoReferences(), stackFrameDepth, and updateFrameMarkers().
Referenced by RexxNativeActivation::callNativeRoutine(), RexxNativeActivation::callRegisteredRoutine(), enterKernel(), error(), RexxActivation::exitFrom(), RexxActivation::raise(), raiseException(), RexxActivation::raiseExit(), raisePropagate(), run(), RexxNativeActivation::run(), RexxActivation::run(), and unwindToFrame().
void RexxActivity::popStackFrame | ( | RexxActivationBase * | target | ) |
Pop entries off the stack frame upto and including the target activation.
target | The target for the pop operation. |
Definition at line 1878 of file RexxActivity.cpp.
References activations, cleanupStackFrame(), RexxInternalStack::fastPop(), stackFrameDepth, and updateFrameMarkers().
void RexxActivity::postDispatch | ( | ) |
Definition at line 2158 of file RexxActivity.cpp.
References OREF_NULL, SysSemaphore::post(), runsem, and waitingObject.
Referenced by RexxVariableDictionary::release(), and RexxMessage::sendNotification().
RexxObject* RexxActivity::previous | ( | ) |
RexxString * RexxActivity::pullInput | ( | RexxActivation * | activation | ) |
Definition at line 3265 of file RexxActivity.cpp.
References callPullExit(), getLocalEnvironment(), lineIn(), OREF_NULL, RexxObject::sendMessage(), and TheNilObject.
Referenced by RexxInstructionParse::execute().
void RexxActivity::pushStackFrame | ( | RexxActivationBase * | new_activation | ) |
Push a Rexx code activation on to the stack frame.
new_activation | The new activation to add. |
Definition at line 1786 of file RexxActivity.cpp.
References activations, checkActivationStack(), RexxActivationBase::isStackBase(), RexxInternalStack::push(), RexxActivationBase::setPreviousStackFrame(), stackFrameDepth, topStackFrame, and updateFrameMarkers().
Referenced by RexxNativeRoutine::call(), RegisteredRoutine::call(), RexxCode::call(), RexxActivation::debugInterpret(), exitKernel(), RexxActivation::internalCall(), RexxActivation::internalCallTrap(), RexxActivation::interpret(), run(), RexxCode::run(), RexxNativeMethod::run(), and RexxActivation::run().
void RexxActivity::queryTrcHlt | ( | ) |
Definition at line 2346 of file RexxActivity.cpp.
References clauseExitUsed, isExitEnabled(), RXHLT, and RXTRC.
Referenced by setupExits().
void RexxActivity::queue | ( | RexxActivation * | activation, |
RexxString * | line, | ||
int | order | ||
) |
Definition at line 3340 of file RexxActivity.cpp.
References callPushExit(), getLocalEnvironment(), line, OREF_NULL, QUEUE_LIFO, and RexxObject::sendMessage().
Referenced by RexxInstructionQueue::execute().
bool RexxActivity::raiseCondition | ( | RexxDirectory * | conditionObj | ) |
Process condition trapping for a condition or syntax error.
conditionObj | The condition object that describes the condition. |
Definition at line 466 of file RexxActivity.cpp.
References RexxDirectory::at(), getTopStackFrame(), isOfClass, and RexxActivationBase::isStackBase().
bool RexxActivity::raiseCondition | ( | RexxString * | condition, |
RexxObject * | rc, | ||
RexxString * | description, | ||
RexxObject * | additional, | ||
RexxObject * | result | ||
) |
Raise a condition, with potential trapping.
condition | The condition name. |
rc | The rc value |
description | The description value. |
additional | the exception additional information. |
result | The condition result info. |
Definition at line 449 of file RexxActivity.cpp.
References createConditionObject().
Referenced by RexxActivation::command(), RexxActivation::processClauseBoundary(), RexxNativeActivation::raiseCondition(), RaiseCondition(), raiseException(), reportCondition(), and RexxObject::requestString().
void RexxActivity::raiseException | ( | wholenumber_t | errcode, |
RexxString * | description, | ||
RexxArray * | additional, | ||
RexxObject * | result | ||
) |
Raise an exception on the current activity.
errcode | The syntax error code. |
description | The associated description string. |
additional | The message substitution parameters. |
result | The message result. |
Definition at line 1030 of file RexxActivity.cpp.
References conditionobj, createExceptionObject(), getCurrentRexxFrame(), getTopStackFrame(), RexxActivation::isForwarded(), OREF_NULL, popStackFrame(), RexxDirectory::put(), raiseCondition(), raisePropagate(), RecursiveStringError, requestingString, TheTrueObject, and unwindToFrame().
Referenced by RexxSource::error(), RexxSource::errorLine(), RexxSource::errorPosition(), RexxSource::errorToken(), RexxActivation::raise(), reportAnException(), and reportException().
void RexxActivity::raisePropagate | ( | RexxDirectory * | conditionObj | ) |
Definition at line 1445 of file RexxActivity.cpp.
References RexxDirectory::at(), getTopStackFrame(), RexxActivationBase::isStackBase(), kill(), OREF_NULL, popStackFrame(), RexxDirectory::put(), TheTrueObject, and RexxActivationBase::trap().
Referenced by raiseException(), and reraiseException().
void RexxActivity::releaseAccess | ( | ) |
Definition at line 2255 of file RexxActivity.cpp.
References ActivityManager::currentActivity, Numerics::setDefaultSettings(), and ActivityManager::unlockKernel().
Referenced by InterpreterInstance::attachThread(), RexxNativeActivation::callNativeRoutine(), RexxNativeActivation::callRegisteredRoutine(), Interpreter::createInstance(), InterpreterInstance::detachThread(), exitCurrentThread(), exitKernel(), guardWait(), RexxVariable::notify(), RexxNativeActivation::run(), runThread(), UnsafeBlock::UnsafeBlock(), and waitReserve().
|
inline |
Definition at line 324 of file RexxActivity.hpp.
References frameStack, and RexxActivationStack::releaseFrame().
Referenced by RexxActivation::run(), and RexxActivation::termination().
void RexxActivity::relinquish | ( | ) |
Definition at line 2177 of file RexxActivity.cpp.
References ActivityManager::relinquish().
Referenced by RexxActivation::processClauseBoundary(), RexxCode::run(), and RexxActivation::run().
|
inline |
Definition at line 301 of file RexxActivity.hpp.
References RexxHashTableCollection::remove(), and requiresTable.
Referenced by InterpreterInstance::runRequires().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode | ) |
Definition at line 532 of file RexxActivity.cpp.
References OREF_NULL, and raiseException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string | ||
) |
Definition at line 663 of file RexxActivity.cpp.
References new_string().
Referenced by reportAnException(), and reportException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string1, | ||
const char * | string2 | ||
) |
Definition at line 676 of file RexxActivity.cpp.
References new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string1, | ||
const char * | string2, | ||
wholenumber_t | integer | ||
) |
Definition at line 693 of file RexxActivity.cpp.
References integer(), new_integer(), new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string, | ||
RexxObject * | obj | ||
) |
Definition at line 849 of file RexxActivity.cpp.
References new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | substitution1, | ||
RexxObject * | substitution2, | ||
const char * | substitution3, | ||
RexxObject * | substitution4 | ||
) |
Definition at line 644 of file RexxActivity.cpp.
References new_array(), new_string(), OREF_NULL, and raiseException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string, | ||
RexxObject * | obj1, | ||
RexxObject * | obj2 | ||
) |
Definition at line 864 of file RexxActivity.cpp.
References new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string1, | ||
RexxObject * | obj1, | ||
RexxObject * | obj2, | ||
const char * | string2, | ||
RexxObject * | obj3 | ||
) |
Definition at line 880 of file RexxActivity.cpp.
References new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string, | ||
RexxObject * | obj1, | ||
RexxObject * | obj2, | ||
RexxObject * | obj3 | ||
) |
Definition at line 919 of file RexxActivity.cpp.
References new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string, | ||
RexxObject * | obj1, | ||
RexxObject * | obj2, | ||
RexxObject * | obj3, | ||
RexxObject * | obj4 | ||
) |
Definition at line 956 of file RexxActivity.cpp.
References new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string, | ||
RexxObject * | obj1, | ||
RexxObject * | obj2, | ||
RexxObject * | obj3, | ||
wholenumber_t | integer | ||
) |
Definition at line 936 of file RexxActivity.cpp.
References integer(), new_integer(), new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string, | ||
RexxObject * | obj1, | ||
RexxObject * | obj2, | ||
wholenumber_t | integer | ||
) |
Definition at line 900 of file RexxActivity.cpp.
References integer(), new_integer(), new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string, | ||
RexxObject * | obj, | ||
wholenumber_t | integer | ||
) |
Definition at line 764 of file RexxActivity.cpp.
References integer(), new_integer(), new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string, | ||
RexxObject * | obj1, | ||
wholenumber_t | integer, | ||
RexxObject * | obj2 | ||
) |
Definition at line 782 of file RexxActivity.cpp.
References integer(), new_integer(), new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string, | ||
wholenumber_t | integer | ||
) |
Definition at line 713 of file RexxActivity.cpp.
References integer(), new_integer(), new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
const char * | string, | ||
wholenumber_t | integer, | ||
RexxObject * | obj | ||
) |
Definition at line 730 of file RexxActivity.cpp.
References integer(), new_integer(), new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
RexxObject * | substitution1 | ||
) |
Definition at line 542 of file RexxActivity.cpp.
References new_array(), OREF_NULL, and raiseException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
RexxObject * | obj, | ||
const char * | string | ||
) |
Definition at line 834 of file RexxActivity.cpp.
References new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
RexxObject * | obj, | ||
const char * | string, | ||
wholenumber_t | integer | ||
) |
Definition at line 801 of file RexxActivity.cpp.
References integer(), new_integer(), new_string(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
RexxObject * | substitution1, | ||
RexxObject * | substitution2 | ||
) |
Definition at line 554 of file RexxActivity.cpp.
References new_array(), OREF_NULL, and raiseException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
RexxObject * | substitution1, | ||
RexxObject * | substitution2, | ||
const char * | string | ||
) |
Definition at line 583 of file RexxActivity.cpp.
References new_array(), new_string(), OREF_NULL, and raiseException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
RexxObject * | substitution1, | ||
RexxObject * | substitution2, | ||
RexxObject * | substitution3 | ||
) |
Definition at line 599 of file RexxActivity.cpp.
References new_array(), OREF_NULL, and raiseException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
RexxObject * | substitution1, | ||
RexxObject * | substitution2, | ||
RexxObject * | substitution3, | ||
RexxObject * | substitution4 | ||
) |
Definition at line 613 of file RexxActivity.cpp.
References new_array(), OREF_NULL, and raiseException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
RexxObject * | substitution1, | ||
RexxObject * | substitution2, | ||
RexxObject * | substitution3, | ||
RexxObject * | substitution4, | ||
RexxObject * | substitution5 | ||
) |
Definition at line 628 of file RexxActivity.cpp.
References new_array(), OREF_NULL, and raiseException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
RexxObject * | substitution1, | ||
RexxObject * | substitution2, | ||
wholenumber_t | integer | ||
) |
Definition at line 567 of file RexxActivity.cpp.
References integer(), new_array(), new_integer(), OREF_NULL, and raiseException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
RexxObject * | obj, | ||
wholenumber_t | integer | ||
) |
Definition at line 819 of file RexxActivity.cpp.
References integer(), new_integer(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
RexxObject * | obj1, | ||
wholenumber_t | integer, | ||
RexxObject * | obj2 | ||
) |
Definition at line 748 of file RexxActivity.cpp.
References integer(), new_integer(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
wholenumber_t | integer | ||
) |
Definition at line 974 of file RexxActivity.cpp.
References integer(), new_integer(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
wholenumber_t | a1, | ||
RexxObject * | a2 | ||
) |
Definition at line 1005 of file RexxActivity.cpp.
References new_integer(), and reportAnException().
void RexxActivity::reportAnException | ( | wholenumber_t | errcode, |
wholenumber_t | integer, | ||
wholenumber_t | integer2 | ||
) |
Definition at line 988 of file RexxActivity.cpp.
References integer(), new_integer(), and reportAnException().
void RexxActivity::requestAccess | ( | ) |
Definition at line 2276 of file RexxActivity.cpp.
References ActivityManager::addWaitingActivity(), ActivityManager::currentActivity, ActivityManager::lockKernelImmediate(), numericSettings, requestAccessCount, and Numerics::setCurrentSettings().
Referenced by ActivityManager::attachThread(), RexxNativeActivation::callNativeRoutine(), RexxNativeActivation::callRegisteredRoutine(), enterCurrentThread(), enterKernel(), InterpreterInstance::enterOnCurrentThread(), ActivityManager::getRootActivity(), guardWait(), RexxVariable::notify(), run(), RexxNativeActivation::run(), runThread(), waitReserve(), and UnsafeBlock::~UnsafeBlock().
|
static |
Definition at line 2271 of file RexxActivity.cpp.
References requestAccessCount.
Referenced by RexxActivation::rexxVariable().
void RexxActivity::reraiseException | ( | RexxDirectory * | exobj | ) |
Reraise an exception object in a prior context.
exobj | The exception object with the syntax information. |
Definition at line 1402 of file RexxActivity.cpp.
References RexxDirectory::at(), RexxActivation::currentLine(), getCurrentRexxFrame(), SystemInterpreter::getMessageText(), RexxSource::getPackage(), RexxSource::getProgramName(), RexxActivation::getSourceObject(), Interpreter::messageNumber(), messageSubstitution(), new_integer(), OREF_NULL, RexxDirectory::put(), raisePropagate(), RexxDirectory::remove(), and work.
Referenced by RexxNativeActivation::checkConditions(), RexxActivation::raise(), and RexxMessage::result().
void RexxActivity::reset | ( | void | ) |
Initialize an Activity object that's being recycled for another use.
Definition at line 293 of file RexxActivity.cpp.
References resetRunningRequires().
Referenced by ActivityManager::createNewActivity().
|
inline |
Definition at line 302 of file RexxActivity.hpp.
References requiresTable, and RexxTable::reset().
Referenced by reset().
CommandHandler * RexxActivity::resolveCommandHandler | ( | RexxString * | name | ) |
Resolve a command handler from the interpreter instance.
name | The name of the command environment. |
Definition at line 3589 of file RexxActivity.cpp.
References instance, and InterpreterInstance::resolveCommandHandler().
Referenced by RexxActivation::command().
RexxString * RexxActivity::resolveProgramName | ( | RexxString * | name, |
RexxString * | dir, | ||
RexxString * | ext | ||
) |
Resolve a program using the activity context information.
name | The name we're interested in. |
dir | A parent directory to use as part of the search. |
ext | Any parent extension name. |
Definition at line 3561 of file RexxActivity.cpp.
References instance, and InterpreterInstance::resolveProgramName().
Referenced by RexxMemory::createImage(), PackageClass::findProgramRexx(), RexxStartDispatcher::run(), CallProgramDispatcher::run(), and TranslateDispatcher::run().
|
inline |
Definition at line 275 of file RexxActivity.hpp.
References nestedCount.
Referenced by RexxNativeActivation::callNativeRoutine(), RexxNativeActivation::callRegisteredRoutine(), messageSubstitution(), run(), RexxNativeActivation::run(), and runThread().
|
inline |
Definition at line 269 of file RexxActivity.hpp.
References attachCount.
Referenced by InterpreterInstance::detachThread().
void RexxActivity::run | ( | ) |
Definition at line 1708 of file RexxActivity.cpp.
References guardsem, SysSemaphore::post(), runsem, and SysActivity::yield().
Referenced by ExitHandler::call(), CommandHandler::call(), CallProgram(), CallRoutine(), ActivityDispatcher::invoke(), LibraryPackage::loadPackage(), RexxActivation::run(), runThread(), RexxMemory::runUninits(), RexxMessage::start(), and LibraryPackage::unload().
void RexxActivity::run | ( | ActivityDispatcher & | target | ) |
Run a task that needs to enter the interpreter on a thread. The activity will set up the root activation and run the task under that context to ensure proper error handling and kernel access.
target | The dispatcher object that implements the call out. |
Definition at line 3390 of file RexxActivity.cpp.
References clearCurrentCondition(), ActivityDispatcher::conditionData, conditionobj, createNewActivationStack(), ActivityManager::currentActivity, currentThread, error(), generateRandomNumberSeed(), getActivationLevel(), getApiContext(), SysActivity::getStackBase(), ActivityDispatcher::handleError(), memoryObject, ActivityManager::newNativeActivation(), OREF_NULL, pushStackFrame(), requestAccess(), restoreActivationLevel(), RexxNativeActivation::run(), RexxMemory::runUninits(), RexxNativeActivation::setConditionInfo(), stackBase, stackFrameDepth, TOTAL_STACK_SIZE, unwindToDepth(), and RexxMemory::verboseMessage().
void RexxActivity::run | ( | CallbackDispatcher & | target | ) |
Run a task under the context of an activity. This will be a task that calls out from the interpreter, which the kernel lock released during the call.
target | The dispatcher object that implements the call out. |
Definition at line 3453 of file RexxActivity.cpp.
References currentRexxFrame, RexxNativeActivation::enableVariablepool(), ActivityManager::newNativeActivation(), popStackFrame(), pushStackFrame(), and RexxNativeActivation::run().
void RexxActivity::run | ( | RexxMessage * | target | ) |
Run a message object on a spawned thread.
target | The target message object. |
Definition at line 1725 of file RexxActivity.cpp.
References dispatchMessage, guardsem, SysSemaphore::post(), runsem, and SysActivity::yield().
void RexxActivity::run | ( | TrappingDispatcher & | target | ) |
Run a task under the context of an activity. This will be a task that runs with a nested error trapping without releasing the kernel lock.
target | The dispatcher object that implements the call out. |
Definition at line 3476 of file RexxActivity.cpp.
References currentRexxFrame, ActivityManager::newNativeActivation(), popStackFrame(), pushStackFrame(), and RexxNativeActivation::run().
|
inline |
Definition at line 299 of file RexxActivity.hpp.
References requiresTable, and RexxTable::stringGet().
Referenced by checkRequires().
void RexxActivity::runThread | ( | ) |
The main entry point for spawned activities.
Definition at line 85 of file RexxActivity.cpp.
References activate(), ActivityManager::activityEnded(), ActivityManager::currentActivity, currentThread, deactivate(), RexxActivationBase::dispatch(), dispatchMessage, error(), exit, getActivationLevel(), SysActivity::getStackBase(), guardsem, instance, memoryObject, OREF_NULL, InterpreterInstance::poolActivity(), releaseAccess(), requestAccess(), SysSemaphore::reset(), restoreActivationLevel(), run(), runsem, RexxMemory::runUninits(), stackBase, stackcheck, topStackFrame, TOTAL_STACK_SIZE, RexxMemory::verboseMessage(), and SysSemaphore::wait().
void RexxActivity::sayOutput | ( | RexxActivation * | activation, |
RexxString * | line | ||
) |
Definition at line 3209 of file RexxActivity.cpp.
References callSayExit(), getLocalEnvironment(), line, lineOut(), OREF_NULL, RexxObject::sendMessage(), and TheNilObject.
Referenced by RexxInstructionSay::execute().
|
inline |
Definition at line 337 of file RexxActivity.hpp.
References getExitHandler(), and ExitHandler::resolve().
|
inline |
Definition at line 336 of file RexxActivity.hpp.
References getExitHandler(), and ExitHandler::setEntryPoint().
|
inline |
Definition at line 338 of file RexxActivity.hpp.
References getExitHandler(), ExitHandler::resolve(), _RXSYSEXIT::sysexit_code, and _RXSYSEXIT::sysexit_name.
|
inline |
Definition at line 279 of file RexxActivity.hpp.
References interpreterRoot.
Referenced by ActivityManager::getRootActivity().
|
inline |
Definition at line 280 of file RexxActivity.hpp.
References nestedActivity.
Referenced by ActivityManager::attachThread(), and ActivityManager::getRootActivity().
|
inline |
Definition at line 307 of file RexxActivity.hpp.
References randomSeed.
Referenced by RexxActivation::getRandomSeed().
|
inline |
Definition at line 277 of file RexxActivity.hpp.
References suspended.
Referenced by ActivityManager::attachThread(), detachInstance(), ActivityManager::getRootActivity(), and ActivityManager::returnActivity().
bool RexxActivity::setTrace | ( | bool | on | ) |
Tap the current running activation on this activity to halt as soon as possible.
d | The description string for the halt. |
Definition at line 2233 of file RexxActivity.cpp.
References currentRexxFrame, RexxActivation::externalTraceOff(), and RexxActivation::externalTraceOn().
Referenced by ActivityManager::setActivityTrace(), SetThreadTrace(), and InterpreterInstance::traceAllActivities().
void RexxActivity::setupAttachedActivity | ( | InterpreterInstance * | interpreter | ) |
Set up an activity as a root activity used either for a main interpreter thread or an attached thread.
interpreter | The interpreter instance this thread belongs to. |
Definition at line 1971 of file RexxActivity.cpp.
References addToInstance(), attached, and createNewActivationStack().
Referenced by InterpreterInstance::attachThread(), and InterpreterInstance::initialize().
void RexxActivity::setupExits | ( | ) |
Process for copying the exit definitions from the hosting instance.
Definition at line 2009 of file RexxActivity.cpp.
References InterpreterInstance::getExitHandler(), instance, LAST_EXIT, queryTrcHlt(), and sysexits.
Referenced by addToInstance(), and InterpreterInstance::initialize().
RexxActivity * RexxActivity::spawnReply | ( | ) |
Create a new activity for processing a method reply instruction.
Definition at line 307 of file RexxActivity.cpp.
References instance, and InterpreterInstance::spawnActivity().
Referenced by RexxActivation::run(), and RexxMessage::start().
void RexxActivity::terminatePoolActivity | ( | ) |
Definition at line 3371 of file RexxActivity.cpp.
References exit, SysSemaphore::post(), and runsem.
Referenced by ActivityManager::clearActivityPool(), and InterpreterInstance::removeInactiveActivities().
thread_id_t RexxActivity::threadIdMethod | ( | ) |
Definition at line 2338 of file RexxActivity.cpp.
References currentThread, and SysActivity::getThreadID().
RexxString * RexxActivity::traceInput | ( | RexxActivation * | activation | ) |
Definition at line 3233 of file RexxActivity.cpp.
References callDebugInputExit(), getLocalEnvironment(), OREF_NULL, RexxObject::sendMessage(), and TheNilObject.
Referenced by RexxActivation::debugPause().
void RexxActivity::traceOutput | ( | RexxActivation * | activation, |
RexxString * | line | ||
) |
Definition at line 3162 of file RexxActivity.cpp.
References ConcurrencyInfos::activation, callTraceExit(), CONCURRENCY_BUFFER_SIZE, CONCURRENCY_TRACE, Utilities::GetConcurrencyInfos(), getLocalEnvironment(), line, lineOut(), ConcurrencyInfos::lock, OREF_NULL, ConcurrencyInfos::reserveCount, RexxObject::sendMessage(), Utilities::snprintf(), TheNilObject, ConcurrencyInfos::threadId, Utilities::traceConcurrency(), and ConcurrencyInfos::variableDictionary.
Referenced by RexxActivation::debugPause(), display(), displayDebug(), RexxActivation::traceClause(), RexxActivation::traceCompoundValue(), RexxActivation::traceEntry(), RexxActivation::traceOperatorValue(), RexxActivation::traceSourceString(), RexxActivation::traceTaggedValue(), and RexxActivation::traceValue().
void RexxActivity::unwindStackFrame | ( | ) |
Definition at line 1898 of file RexxActivity.cpp.
References activations, RexxInternalStack::fastPop(), RexxActivationBase::isStackBase(), RexxInternalStack::push(), stackFrameDepth, and updateFrameMarkers().
void RexxActivity::unwindToDepth | ( | size_t | depth | ) |
Definition at line 1928 of file RexxActivity.cpp.
References activations, RexxInternalStack::fastPop(), stackFrameDepth, and updateFrameMarkers().
Referenced by run().
void RexxActivity::unwindToFrame | ( | RexxActivation * | frame | ) |
Unwind to a particular stack frame, terminating each frame in turn;
frame | The target frame |
Definition at line 1951 of file RexxActivity.cpp.
References getTopStackFrame(), popStackFrame(), and RexxActivationBase::termination().
Referenced by raiseException(), and RexxActivation::run().
void RexxActivity::updateFrameMarkers | ( | ) |
Update the top of the stack markers after a push or a pop operation on the stack frame.
Definition at line 1761 of file RexxActivity.cpp.
References activations, ActivityManager::currentActivity, currentRexxFrame, RexxActivationBase::findRexxContext(), RexxActivationBase::getNumericSettings(), RexxInternalStack::getTop(), numericSettings, Numerics::setCurrentSettings(), and topStackFrame.
Referenced by createNewActivationStack(), popStackFrame(), pushStackFrame(), unwindStackFrame(), and unwindToDepth().
void RexxActivity::validateThread | ( | ) |
Validate that an API call is occuring on the correct thread.
Definition at line 3598 of file RexxActivity.cpp.
References currentThread, Error_Execution_invalid_thread, reportException(), and SysActivity::validateThread().
Referenced by ApiContext::ApiContext().
|
inline |
Definition at line 304 of file RexxActivity.hpp.
References runsem, and SysSemaphore::wait().
Referenced by ActivityManager::addWaitingActivity().
void RexxActivity::waitReserve | ( | RexxObject * | resource | ) |
Definition at line 2118 of file RexxActivity.cpp.
References releaseAccess(), requestAccess(), SysSemaphore::reset(), runsem, SysSemaphore::wait(), and waitingObject.
Referenced by RexxMessage::result().
void RexxActivity::yield | ( | ) |
Tap the current running activation on this activity to give up control at the next reasonsable boundary.
Definition at line 2189 of file RexxActivity.cpp.
References currentRexxFrame, and RexxActivation::yield().
Referenced by ActivityManager::yieldCurrentActivity().
void RexxActivity::yieldControl | ( | ) |
|
friend |
Definition at line 130 of file RexxActivity.hpp.
|
friend |
Definition at line 129 of file RexxActivity.hpp.
|
protected |
Definition at line 404 of file RexxActivity.hpp.
Referenced by ActivationFrame::ActivationFrame(), generateProgramInformation(), generateStackFrames(), getLastMessageName(), getLastMethod(), and ActivationFrame::~ActivationFrame().
|
protected |
Definition at line 370 of file RexxActivity.hpp.
Referenced by checkActivationStack(), createNewActivationStack(), live(), liveGeneral(), popStackFrame(), pushStackFrame(), RexxActivity(), unwindStackFrame(), unwindToDepth(), and updateFrameMarkers().
|
protected |
Definition at line 371 of file RexxActivity.hpp.
Referenced by checkActivationStack(), and RexxActivity().
|
protected |
Definition at line 398 of file RexxActivity.hpp.
Referenced by isNestedAttach(), nestAttach(), and returnAttach().
|
protected |
Definition at line 396 of file RexxActivity.hpp.
Referenced by detachInstance(), isAttached(), and setupAttachedActivity().
|
staticprotected |
Definition at line 410 of file RexxActivity.hpp.
Referenced by createCallContext().
|
protected |
Definition at line 400 of file RexxActivity.hpp.
Referenced by inheritSettings(), isClauseExitUsed(), and queryTrcHlt().
|
protected |
Definition at line 361 of file RexxActivity.hpp.
Referenced by clearCurrentCondition(), error(), getCurrentCondition(), kill(), live(), liveGeneral(), raiseException(), and run().
|
protected |
Definition at line 383 of file RexxActivity.hpp.
|
protected |
Definition at line 381 of file RexxActivity.hpp.
Referenced by display(), displayDebug(), exitKernel(), getCurrentRexxFrame(), halt(), live(), liveGeneral(), run(), setTrace(), updateFrameMarkers(), and yield().
|
protected |
Definition at line 387 of file RexxActivity.hpp.
Referenced by cleanupActivityResources(), isThread(), RexxActivity(), run(), runThread(), threadIdMethod(), and validateThread().
|
protected |
Definition at line 363 of file RexxActivity.hpp.
Referenced by live(), liveGeneral(), run(), and runThread().
|
protected |
Definition at line 392 of file RexxActivity.hpp.
Referenced by runThread(), and terminatePoolActivity().
|
staticprotected |
Definition at line 411 of file RexxActivity.hpp.
Referenced by createExitContext().
|
protected |
Definition at line 360 of file RexxActivity.hpp.
Referenced by allocateFrame(), allocateLocalVariableFrame(), allocateStackFrame(), live(), liveGeneral(), releaseStackFrame(), and RexxActivity().
|
protected |
Definition at line 386 of file RexxActivity.hpp.
Referenced by cleanupActivityResources(), guardPost(), guardSet(), guardWait(), RexxActivity(), run(), and runThread().
|
protected |
Definition at line 357 of file RexxActivity.hpp.
Referenced by addToInstance(), detachInstance(), detachThread(), getEffectiveSecurityManager(), getInstance(), getInstanceSecurityManager(), getLocal(), getLocalEnvironment(), resolveCommandHandler(), resolveProgramName(), runThread(), setupExits(), and spawnReply().
|
protected |
Definition at line 395 of file RexxActivity.hpp.
Referenced by isInterpreterRoot(), and setInterpreterRoot().
|
staticprotected |
Definition at line 409 of file RexxActivity.hpp.
Referenced by createMethodContext().
|
protected |
Definition at line 405 of file RexxActivity.hpp.
Referenced by detachInstance(), getNestedActivity(), and setNestedActivity().
|
protected |
Definition at line 397 of file RexxActivity.hpp.
Referenced by activate(), deactivate(), getActivationLevel(), isActive(), isInactive(), and restoreActivationLevel().
|
protected |
Definition at line 389 of file RexxActivity.hpp.
Referenced by getNumericSettings(), requestAccess(), RexxActivity(), and updateFrameMarkers().
|
protected |
Definition at line 359 of file RexxActivity.hpp.
|
protected |
Definition at line 403 of file RexxActivity.hpp.
Referenced by live(), liveGeneral(), ProtectedObject::ProtectedObject(), and ProtectedObject::~ProtectedObject().
|
protected |
Definition at line 401 of file RexxActivity.hpp.
Referenced by generateRandomNumberSeed(), getRandomSeed(), and setRandomSeed().
|
protected |
Definition at line 393 of file RexxActivity.hpp.
Referenced by messageSubstitution(), and raiseException().
|
protected |
Definition at line 362 of file RexxActivity.hpp.
Referenced by addRunningRequires(), live(), liveGeneral(), removeRunningRequires(), resetRunningRequires(), RexxActivity(), and runningRequires().
|
protected |
Definition at line 385 of file RexxActivity.hpp.
Referenced by cleanupActivityResources(), clearWait(), postDispatch(), RexxActivity(), run(), runThread(), terminatePoolActivity(), waitForDispatch(), and waitReserve().
|
protected |
Definition at line 399 of file RexxActivity.hpp.
Referenced by checkStackSpace(), RexxActivity(), run(), and runThread().
|
protected |
Definition at line 391 of file RexxActivity.hpp.
Referenced by checkStackSpace(), messageSubstitution(), RexxActivity(), and runThread().
|
protected |
Definition at line 372 of file RexxActivity.hpp.
Referenced by checkActivationStack(), createNewActivationStack(), getActivationDepth(), popStackFrame(), pushStackFrame(), run(), unwindStackFrame(), and unwindToDepth().
|
protected |
Definition at line 394 of file RexxActivity.hpp.
Referenced by isSuspended(), and setSuspended().
|
protected |
Definition at line 402 of file RexxActivity.hpp.
Referenced by getExitHandler(), inheritSettings(), and setupExits().
|
protected |
Definition at line 358 of file RexxActivity.hpp.
Referenced by addToInstance(), createCallContext(), createExitContext(), createMethodContext(), and getThreadContext().
|
staticprotected |
Definition at line 408 of file RexxActivity.hpp.
Referenced by addToInstance(), and initializeThreadContext().
|
protected |
Definition at line 388 of file RexxActivity.hpp.
Referenced by getThreadLocal(), live(), liveGeneral(), and RexxActivity().
|
protected |
Definition at line 382 of file RexxActivity.hpp.
Referenced by error(), getApiContext(), getEffectiveSecurityManager(), getTopStackFrame(), live(), liveGeneral(), pushStackFrame(), runThread(), and updateFrameMarkers().
|
protected |
Definition at line 384 of file RexxActivity.hpp.
Referenced by checkDeadLock(), live(), liveGeneral(), postDispatch(), and waitReserve().