#include <ngcbTHREAD.hpp>
|
| | ngcbSEMC (unsigned int count) |
| | Constructor.
|
| |
| virtual | ~ngcbSEMC () |
| | Destructor.
|
| |
| | ngcbSEM () |
| | Constructor.
|
| |
| | ngcbSEM (unsigned int count) |
| | Constructor for fast semaphore with initial count.
|
| |
| | ngcbSEM (unsigned int count, int check) |
| | Constructor with initial count and type (error checking on or off)
|
| |
| virtual | ~ngcbSEM () |
| | Destructor.
|
| |
| int | Create (ngcbSEM_T *sp, unsigned int count, int check, char *erms=NULL) |
| | Create a semaphore of given type (error checking on or off)
|
| |
| int | Create (ngcbSEM_T *sp, unsigned int count, char *erms=NULL) |
| | Create a fast semaphore.
|
| |
| int | Destroy (ngcbSEM_T *sp, char *erms=NULL) |
| | Destroy a semaphore.
|
| |
| int | Lock (ngcbSEM_T *sp) |
| | Lock a sempahore.
|
| |
| int | Unlock (ngcbSEM_T *sp) |
| | Unlock a semaphore.
|
| |
| int | TryLock (ngcbSEM_T *sp) |
| | Try to lock a semaphore.
|
| |
| int | Post (ngcbSEM_T *sp) |
| | Post a semaphore.
|
| |
| int | Set (ngcbSEM_T *sp, unsigned int cnt) |
| | Set semaphore counter.
|
| |
| size_t | WaitCnt (ngcbSEM_T *sp, size_t cnt) |
| | Wait until counter is reached exactly or becomes zereo.
|
| |
| int | Wait (ngcbSEM_T *sp) |
| | Wait for a semaphore.
|
| |
| int | TryWait (ngcbSEM_T *sp) |
| | Try to wait for a semaphore.
|
| |
| size_t | Cnt (ngcbSEM_T *sp) |
| | Get actual value of a semaphore counter.
|
| |
| int | Lock () |
| | Lock this semaphore.
|
| |
| int | Unlock () |
| | Unlock this semaphore.
|
| |
| int | TryLock () |
| | Try to lock this semaphore.
|
| |
| int | Post () |
| | Post this semaphore.
|
| |
| int | Set (unsigned int cnt) |
| | Set this semaphore counter.
|
| |
| size_t | WaitCnt (size_t cnt) |
| | Wait until counter in this semaphore is reached exactly or becomes zero.
|
| |
| int | Wait () |
| | Wait for this semaphore.
|
| |
| int | TryWait () |
| | Try to wait for this semaphore.
|
| |
| size_t | Cnt () |
| | Get actual value of this semaphore counter.
|
| |
◆ ngcbSEMC()
| ngcbSEMC::ngcbSEMC |
( |
unsigned int | count | ) |
|
|
inlineexplicit |
◆ ~ngcbSEMC()
| virtual ngcbSEMC::~ngcbSEMC |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: