Intra-Object Concurrency

Several methods can access the same object at the same time only if they are operating at different scopes. That is because they are working with separate variable (attribute) subpools. If two methods in the same scope try to run on the object, Rexx by default processes them on a "first-in, first-out" basis, while treating internal methods as subroutines. You can, however, achieve full intra-object concurrency. Rexx offers several mechanisms for this, including:

When intra-object concurrency at the scope level is needed, you must specifically employ these mechanisms (see the following section). Otherwise, Rexx sequentially processes the methods when they are competing for the same object variables (attributes).