Is there a way to find out whether a particular Rexx instance is being used for an activity, and if
so how?
Background: as long as it is not possible to safely terminate a Rexx interpreter instance I might be
inclined to create a pool of Rexx interpreter instances and rather than terminating an instance,
reuse such instances instead. For the purpose of reusing an instance it is probably necessary to
make sure that a copy of its original .local object gets used, but this can probably only be done in
a safe manner, if no activity is executed or scheduled on that instance. The idea then would be to
check whether a Rexx instance is inactive such that instead of terminating an instance it would get
reused instead.
Would that be a feasible approach?
---rony
P.S.: Also, once Termination (1.17.188. Terminate in rexxapi.pdf) gets fixed (cf.
https://sourceforge.net/p/oorexx/bugs/1872/) it would be nice to have a non-blocking/asynchroneous
Terminate() and being able to check whether the termination has succeeded at any later time.
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel