VCF::Semaphore Class Reference
Class Semaphore. More...
#include <vcf/FoundationKit/Semaphore.h>
Inheritance diagram for VCF::Semaphore:

Public Member Functions | |
| Semaphore (int32 initialCount=1, int32 maxCount=1) | |
| virtual | ~Semaphore () |
| virtual bool | lock () |
| Attempts tp lock the SynchObject and will block indefinitely till a lock is achieved. | |
| virtual bool | lock (uint32 timeoutInMilliseconds) |
| Attempts tp lock the SynchObject and will block for timeoutInMilliseconds till a lock is achieved. | |
| virtual bool | unlock () |
| SemaphorePeer * | getPeer () |
Protected Attributes | |
| SemaphorePeer * | peer_ |
Detailed Description
Class Semaphore.
- Author:
- Tiziano Franzoi, Nov 15, 2001
Constructor & Destructor Documentation
|
||||||||||||
|
|
|
|
|
Member Function Documentation
|
|
|
|
|
Attempts tp lock the SynchObject and will block for timeoutInMilliseconds till a lock is achieved.
Implements VCF::SynchObject. |
|
|
Attempts tp lock the SynchObject and will block indefinitely till a lock is achieved.
Implements VCF::SynchObject. |
|
|
Implements VCF::SynchObject. |
Member Data Documentation
|
|
|
The documentation for this class was generated from the following file:
- vcf/FoundationKit/Semaphore.h
