November 2004
Intermediate to advanced
212 pages
5h 2m
English
SynchronizedObject::ExclusiveZone
The class
ExclusiveZone
(see Figure C-14) is a nested class belonging to
SynchronizedObject. It locks a
SynchronizationObject (mutex) upon construction
and unlocks it upon destruction, thus providing protection during the
scope of its existence.
ExclusiveZone belongs to the namespace
CppUnit. It is declared and implemented in
SynchronizedObject.h.
![]() |
class ExclusiveZone
ExclusiveZone(SynchronizationObject *syncObject)
Constructs ExclusiveZone and locks
syncObject.
~ExclusiveZone( )
Destroys ExclusiveZone and unlocks
syncObject.
None.
None.
SynchronizationObject *m_syncObject
A pointer to the SynchronizationObject for this
ExclusiveZone (public).
Read now
Unlock full access