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

| Public Member Functions | |
| PrioritySemaphore (int count=1, unsigned int maxCount=1) | |
| virtual | ~PrioritySemaphore () | 
| void | wait () | 
| bool | tryWait (unsigned long) | 
| void | post () | 
| virtual int | count () | 
| virtual bool | tryAcquire (unsigned long timeout) | 
| virtual void | acquire () | 
| virtual void | release () | 
Detailed Description
- Author:
- Eric Crahen <http://www.code-foo.com>
- Date:
- <2003-07-16T15:36:07-0400>
- Version:
- 2.2.1
Scheduling
Threads blocked on a PrioritySemaphore are resumed in priority order, highest priority first.
Error Checking
An attempt to increase a PrioritySemaphore beyond its maximum value will result in an InvalidOp_Exception.
- See also:
- Semaphore
Constructor & Destructor Documentation
| 
 | ||||||||||||
| 
 | 
| 
 | 
| 
 
 | 
Member Function Documentation
| 
 | 
| 
 
 Implements Lockable. | 
| 
 | 
| 
 
 | 
| 
 | 
| 
 
 | 
| 
 | 
| 
 
 Implements Lockable. | 
| 
 | 
| 
 Implements Lockable. | 
| 
 | 
| 
 
 | 
| 
 | 
| 
 
 | 
The documentation for this class was generated from the following file:
- PrioritySemaphore.h