Product Site

Chapter 12. Concurrency

12.1. Early Reply
12.2. Message Objects
12.3. Default Concurrency
12.3.1. Sending Messages within an Activity
12.4. Using Additional Concurrency Mechanisms
12.4.1. SETUNGUARDED Method and UNGUARDED Option
12.4.2. GUARD ON and GUARD OFF
12.4.3. Guarded Methods
12.4.4. Additional Examples

Conceptually, each Rexx object is like a small computer with its own processor to run its methods, its memory for object and method variables, and its communication links to other objects for sending and receiving messages. This is object-based concurrency. It lets more than one method run at the same time. Any number of objects can be active (running) at the same time, exchanging messages to communicate with, and synchronize, each other.

More information on debugging multithreaded programs using the TRACE keyword statement and the TraceObject class see Debugging Multithreaded Programs.