corelinux_GuardSemaphore3
Guardsemaphore is a special case semaphore for use by the corelinuxguardpool.
Usage
Inherits corelinux::Semaphore.
Public Member Functions
GuardSemaphore (SemaphoreGroupPtr,
SemaphoreIdentifierRef)
throw
(Assertion)
Virtual Destructor.
virtual
SemaphoreOperationStatus
lockWithWait
(void)
throw
(SemaphoreException)
Protected Member Functions
GuardSemaphore (void)
throw
(Assertion)
Detailed Description
GuardSemaphore is a special case semaphore for use by the CoreLinuxGuardPool.
It has the basic behavior of a MutexSemaphore without the recursion and balking capability. Its sole use is for Synchronized object monitor control.
See also:
corelinux::CoreLinuxGuardPool
corelinux::Semaphore
Constructor & Destructor Documentation
corelinux::GuardSemaphore::GuardSemaphore (SemaphoreGroupPtr, SemaphoreIdentifierRef) throw (Assertion)
Default constructor requires the identifier of the semaphore in the semaphore group. Parameters:
SemaphoreGroup The owning SemaphoreGroup
SemaphoreIdentifier The identifier from the Semaphore Group
History
- Debian 3.1 (Sarge): the text shown here
- Debian 3.0 (Woody)