The class SynchronizedObject (see Figure C-13) serves as the parent class for synchronized objects. Synchronized objects incorporate a mutex-based lock mechanism, allowing them to be used concurrently by multiple threads.
SynchronizedObject includes the nested classes SynchronizationObject , which is its mutex object, and ExclusiveZone , which locks a SynchronizationObject .
SynchronizedObject belongs to the namespace CppUnit . It is declared in SynchronizedObject.h and implemented in SynchronizedObject.cpp .
A constructor taking a SynchronizationObject (mutex.) If syncObject is null , a new SynchronizationObject is created.
Sets the SynchronizationObject .
A copy constructor declared private to prevent its use.
A copy operator declared private to prevent its use.
A pointer to the SynchronizationObject for this SynchronizedObject ( protected ).