48 #include "SysActivity.hpp"
266 return new RexxActivation(activity, parent, routine, code, calltype, environment, context);
468 return activity->
halt(description);
487 return activity->
setTrace(on_or_off);
639 RexxActivity *oldActivity = activityObject->getNestedActivity();
645 activityObject->cleanupActivityResources();
664 activityObject->cleanupActivityResources();
716 return activityObject;
779 return activityObject;
802 return activityObject;
918 self->createLocalReference(o);
wholenumber_t relinquishCount
wholenumber_t addWaitingActivityCount
#define memory_mark(oref)
#define memory_mark_general(oref)
static bool processTerminating
static SysSemaphore terminationSem
static void yieldCurrentActivity()
static RexxActivity * createNewActivity()
static RexxList * allActivities
static bool setActivityTrace(thread_id_t thread_id, bool on_or_off)
static RexxNativeActivation * newNativeActivation(RexxActivity *activity, RexxActivation *parent)
static wholenumber_t addWaitingActivityCounter()
static RexxActivation * newActivation(RexxActivity *activity, RexxActivation *parent, RoutineClass *routine, RexxCode *code, RexxString *calltype, RexxString *environment, int context)
static void clearActivityPool()
static bool poolActivity(RexxActivity *activity)
static void createInterpreter()
static void postTermination()
static void relinquish(RexxActivity *activity)
static wholenumber_t yieldCounter()
static size_t interpreterInstances
static bool lockKernelImmediate()
static RexxList * availableActivities
static std::deque< RexxActivity * > waitingActivities
static RexxDirectory * getLocal()
static void returnActivity(RexxActivity *)
static void unlockKernel()
static void activityEnded(RexxActivity *)
static void addWaitingActivity(RexxActivity *a, bool release)
static void terminateInterpreter()
static void createLocks()
static bool haltActivity(thread_id_t thread_id, RexxString *description)
static RexxActivity * createCurrentActivity()
static RexxObject * getLocalEnvironment(RexxString *name)
static RexxActivity * attachThread()
static void exit(int retcode)
static void liveGeneral(int reason)
static SysMutex kernelSemaphore
static RexxActivity *volatile currentActivity
static void returnRootActivity(RexxActivity *activity)
static RexxActivity * getRootActivity()
static RexxActivity * getActivity()
static volatile bool sentinel
static wholenumber_t relinquishCounter()
static RexxActivity * findActivity()
static InterpreterInstance * createInterpreterInstance()
RexxActivity * getRootActivity()
InterpreterInstance * instance
RexxObject * protect(RexxObject *o)
static void setCurrentSettings(NumericSettings *s)
void enterCurrentThread()
bool isThread(thread_id_t id)
void inheritSettings(RexxActivity *parent)
void setInterpreterRoot()
RexxObject * getLocalEnvironment(RexxString *name)
void terminatePoolActivity()
NumericSettings * getNumericSettings()
void setNestedActivity(RexxActivity *a)
void cleanupActivityResources()
RexxActivationBase * getTopStackFrame()
RexxDirectory * getLocal()
void setSuspended(bool s)
size_t previousIndex(size_t i)
RexxObject * append(RexxObject *)
RexxObject * removeItem(RexxObject *)
RexxObject * getValue(size_t i)
RexxObject * removeFirstItem()
static wholenumber_t yieldCounter()
static thread_id_t queryThreadID()
void release(const char *ds, int di)
bool requestImmediate(const char *ds, int di)
void request(const char *ds, int di)