7 #ifndef MSynch_Semaphore_h 8 #define MSynch_Semaphore_h 85 void Dismiss()
throw();
89 void ReleaseResource()
throw();
93 bool mbHoldingResource;
99 virtual void Delete() throw() = 0;
128 unsigned Int32 inInitialAvailableResourceCount,
129 unsigned Int32 inMaximumResourceCount);
133 #endif // MSynch_Semaphore_h friend class SmartLock
Definition: Semaphore.h:102
Definition: Semaphore.h:38
Definition: ReferenceCountedImpl.h:18
MBase::ReturnPtr< Semaphore, MBase::DeleteOperatorGeneric< Semaphore > > ReturnPtr
Definition: Semaphore.h:36
DLL_SYNCH_EXIM Semaphore * CreateSemaphore(unsigned Int32 inInitialAvailableResourceCount, unsigned Int32 inMaximumResourceCount)
MBase::StrongPtr< Semaphore, MBase::DeleteOperatorGeneric< Semaphore > > Ptr
Definition: Semaphore.h:35
#define Int32
Definition: BasicTypes.h:20
#define DLL_SYNCH_EXIM
Definition: Synch.h:17
WaitForResourceResult
Definition: Semaphore.h:38
Definition: StrongPtr.h:50
Definition: Semaphore.h:31
SmartLock is intended to be created in the stack only.
Definition: Semaphore.h:57
virtual void ResourceIsAvailable()=0
Definition: Semaphore.h:38
Definition: ReturnPtr.h:22