|
| | CINOSSemaphore (const char *apName=0, uint32 auInitialCount=1, uint32 auMaxCount=0xffffffff) |
| | Create a semaphore with the given name. See also Semaphore. More...
|
| |
|
virtual | ~CINOSSemaphore () |
| | Destroy semaphore.
|
| |
| uint32 | Request (uint32 aTimeout=0xFFFFFFFF) |
| | Wait for semaphore for a max. amount of time. More...
|
| |
|
void | Release () |
| | Release seamphore.
|
| |
|
uint32 | GetCount () |
| | Get current count.
|
| |
|
uint32 | GetMaxCount () |
| | Get max. allowed count.
|
| |
| | CINOSSync (const char *aName=0, uint32 aInitialCount=0, bool aManual=false) |
| |
|
virtual | ~CINOSSync () |
| | Destroy sync object.
|
| |
|
virtual const char * | GetName () |
| | Get name of sync object.
|
| |
| virtual uint32 | Wait (uint32 aTimeout=0xFFFFFFFF) |
| | wait for signaled state for max. aTimeout usec More...
|
| |
|
virtual void | Signal () |
| | Put object into the signaled state.
|
| |
| virtual void | SignalEx (CINOSTaskExMsg *apMsg, uint32 auRplId, uint32 auAppError) |
| |
| virtual bool | MsgEvent (CINOSTaskExMsg *apMsg) |
| |
|
virtual void | Reset () |
| | Reset object state.
|
| |
|
volatile uint32 * | GetLockAdr () |
| | Return pointer to core locking structure.
|
| |
|
virtual bool | UsesPolling () const |
| |
|
bool | IsSame (CINOSSync *i_pSync) |
| |
|
int | operator< (const CINOSSync &aSync) const |
| |
|
int | operator== (const CINOSSync &aSync) const |
| |
|
int | operator< (const char *aName) const |
| |
|
int | operator== (const char *aName) const |
| |
◆ CINOSSemaphore()
| CINOSSemaphore::CINOSSemaphore |
( |
const char * |
apName = 0, |
|
|
uint32 |
auInitialCount = 1, |
|
|
uint32 |
auMaxCount = 0xffffffff |
|
) |
| |
Create a semaphore with the given name. See also Semaphore.
- Parameters
-
| apName | Name of semaphore |
| auInitialCount | Requested initial count |
| auMaxCount | Requested maximal count count |
◆ Request()
| uint32 CINOSSemaphore::Request |
( |
uint32 |
aTimeout = 0xFFFFFFFF | ) |
|
Wait for semaphore for a max. amount of time.
- Parameters
-
| auTimeout | max. time to wait for the semaphore or forever if used INOS_WAIT_FOREVER. The unit of the time is [usec] (microseconds). Set auTimeout == 100000 for example if you want to wait for max. 100ms |
The documentation for this class was generated from the following file:
- /home/jenkins/workspace/inos_doxygen/os/inos/inc/inos_syn.h