The Synchronization Class Hierarchy
The synchronization classes include mutual exclusion and condition synchronization mechanisms. The classes are shown in
Figure 21.
The
RWSynchObject base class has a common interface for enabling and disabling automatic cancellation detection. All of the classes that derive from
RWSynchObject can test for runnable cancellation prior to performing any synchronization operation that might result in a blocking wait. For more information, see
Canceling a Runnable.