Open Object Rexx - Files
Interpreter Concurrency Source Files
This directory contains files used to implement the underlying ooRexx
thread management. Many of the classes here a just supporting role
players used for initiating calls into the interpreter or callouts from
the interpreter.
The following is a partial list of the files to be found in this subdirectory.
- ActivityManager.*
- The master subsystem form managing threading issues. ooRexx uses a
cooperative threading model, with only a single thread capable of
running interpreter code at one time. The ActivityManager handles the
thread synchronization, scheduling, and dispatching needed to implement
the multi-threaded behavior.
- RexxActivity.*
- A RexxActivity instance represents a thread of execution inside of an
interpreter instance. Each active thread that the interpreter knows
about will have a RexxActivity object allocated for it. The
RexxActivity manages the execution stack and also performs some memory
management functions on behalf of the memory subsystem.