| ★ wanayoo — archive 1999 http://corelinux.sourceforge.net/classref/MutexSemaphore.html | Nouvelle recherche | Portail wanayoo |
MutexSemaphore implements a mutual exclusion control which can be used to insure that at most one (1) task has access at a time.
MutexSemaphore implements a mutual exclusion control which can be used to insure that at most one (1) task has access at a time.The semantics for Recursion: The thread that is successful is obtaining the lock will be regarded as theOwningThreadIdentifier. If, upon a lock request, it is determined that the same thread that owns the lock is asking to lock again, theRecursionQueueLength will be incremented. It is thereafter neccessary for theOwningThread to release the semaphore until theRecursionQueueLength returns to zero (0). All other callers will block or not based on their lock call disposition.
virtual ~MutexSemaphore( void )
virtual bool isLocked( void )
virtual SemaphoreOperationStatus lockWithWait( void ) throw(SemaphoreException)
virtual SemaphoreOperationStatus lockWithNoWait( void ) throw(SemaphoreException)
virtual SemaphoreOperationStatus release( void ) throw(SemaphoreException)
MutexSemaphore( void ) throw( Assertion )
MutexSemaphore( MutexSemaphoreCref ) throw( Assertion )
MutexSemaphoreRef operator=( MutexSemaphoreCref ) throw( Assertion )