PriorityInheritanceMutex Class Reference
#include <PriorityInheritanceMutex.h>
Inheritance diagram for PriorityInheritanceMutex:
Public Member Functions | |
PriorityInheritanceMutex () | |
virtual | ~PriorityInheritanceMutex () |
virtual void | acquire () |
virtual bool | tryAcquire (unsigned long timeout) |
virtual void | release () |
Detailed Description
- Author:
- Eric Crahen <http://www.code-foo.com>
- Date:
- <2003-07-16T19:37:36-0400>
- Version:
- 2.2.1
- See also:
- PriorityMutex
Threads competing to acquire() a PriorityInheritanceMutex are granted access in order of priority. Threads with a higher priority will be given access first.
When a higher priority thread tries to acquire() a PriorityInheritanceMutex and is about to be blocked by a lower priority thread that has already acquire()d it, the lower priority thread will temporarily have its effective priority raised to that of the higher priority thread until it release()s the mutex; at which point its previous priority will be restored.
Constructor & Destructor Documentation
|
|
|
|
Member Function Documentation
|
Implements Lockable. |
|
Implements Lockable. |
|
Implements Lockable. |
The documentation for this class was generated from the following file:
- PriorityInheritanceMutex.h