1 #if !defined(__MUTEXSEMAPHOREGROUP_HPP)
2 #define __MUTEXSEMAPHOREGROUP_HPP
24 #if !defined(__COMMON_HPP)
28 #if !defined(__SEMAPHOREGROUP_HPP)
29 #include <SemaphoreGroup.hpp>
35 DECLARE_CLASS( MutexSemaphoreGroup );
149 bool Recursive =
false,
174 bool Recursive =
false,
200 bool Recursive =
false,
224 bool Recursive=
false,
273 bool aAutoLock =
false
280 SemaphoreShares theUsedMap;
285 #endif // if !defined(__MUTEXSEMAPHOREGROUP_HPP)
AbstractSemaphorePtr resolveSemaphore(SemaphoreIdentifierRef aIdentifier, Short aSemId, CreateDisposition aDisp, bool aRecurse, bool aBalk, bool aAutoLock=false)
Protected method for resolving mutex between CSA and local.
Definition: MutexSemaphoreGroup.cpp:305
virtual AbstractSemaphorePtr createLockedSemaphore(bool Recursive=false, bool Balking=false)
Create a locked MutexSemaphore.
Definition: MutexSemaphoreGroup.cpp:139
MutexSemaphoreGroup(void)
Default constructor not allowed.
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
CreateDisposition
Creation dispositions for various system utilities.
Definition: AccessRights.hpp:63
Will throw exception if target exists.
Definition: AccessRights.hpp:71
ScalarIdentifier provides a templated interface for declaring CoreLinux Identifiers for simple scalar...
Definition: ScalarIdentifiers.hpp:37
A AbstractSemaphore supports the protocol that processes and/or threads agree to follow for the purpo...
Definition: AbstractSemaphore.hpp:85
Owner has read/write access.
Definition: AccessRights.hpp:43
SemaphoreException is the base exception type for Semaphore.
Definition: SemaphoreException.hpp:39
virtual ~MutexSemaphoreGroup(void)
Virtual destructor.
Definition: MutexSemaphoreGroup.cpp:91
virtual AbstractSemaphorePtr createSemaphore(void)
Create a default MutexSemaphore.
Definition: MutexSemaphoreGroup.cpp:128
Assertion is-a Exception created when an assertion fails.
Definition: Assertion.hpp:423
Will create or open.
Definition: AccessRights.hpp:67
virtual void destroySemaphore(AbstractSemaphorePtr)
Destroys a created MutexSemaphore.
Definition: MutexSemaphoreGroup.cpp:246
A MutexSemaphoreGroup is an extension to the SemaphoreGroup for creating only MutexSemaphore types...
Definition: MutexSemaphoreGroup.hpp:44
MutexSemaphoreGroupRef operator=(MutexSemaphoreGroupCref)
Assignment operator not allowed.
A SemaphoreGroup is an extension to the Linux semaphore set.
Definition: SemaphoreGroup.hpp:62