PriorityMutex Class Reference
#include <PriorityMutex.h>
Inheritance diagram for PriorityMutex:

Public Member Functions | |
PriorityMutex () | |
virtual | ~PriorityMutex () |
virtual void | acquire () |
virtual bool | tryAcquire (unsigned long timeout) |
virtual void | release () |
![]() | |
virtual | ~Lockable () |
Destroy a Lockable object. | |
virtual void | acquire ()=0 |
virtual bool | tryAcquire (unsigned long timeout)=0 |
virtual void | release ()=0 |
Detailed Description
- Date
- <2003-07-16T17:35:46-0400>
- Version
- 2.2.1
A PriorityMutex is similar to a Mutex, with exception that a PriorityMutex has a difference scheduling policy. It is a non-reentrant, priority sensitive MUTual EXclusion Lockable object.
- See also
- Mutex
Scheduling
Threads competing to acquire() a Mutex are granted access in order of priority. Threads with a higher priority will be given access first.
Constructor & Destructor Documentation
◆ PriorityMutex()
PriorityMutex | ( | ) |
- See also
- Mutex::Mutex()
◆ ~PriorityMutex()
|
virtual |
- See also
- Mutex::~Mutex()
Member Function Documentation
◆ acquire()
|
virtual |
- See also
- Mutex::acquire()
Implements Lockable.
◆ release()
|
virtual |
- See also
- Mutex::release()
Implements Lockable.
◆ tryAcquire()
|
virtual |
Implements Lockable.
The documentation for this class was generated from the following file:
- PriorityMutex.h