RTI Connext DDS Micro
Version 2.4.6
|
Semaphore interface definition. More...
Go to the source code of this file.
Macros | |
#define | OSAPI_SEMAPHORE_TIMEOUT_INFINITE -1 |
#define | OSAPI_SEMAPHORE_RESULT_OK 0 |
#define | OSAPI_SEMAPHORE_RESULT_TIMEOUT 1 |
#define | OSAPI_SEMAPHORE_RESULT_ERROR 2 |
Typedefs | |
typedef struct OSAPI_Semaphore | OSAPI_Semaphore_T |
Abstract semaphore object. More... | |
Functions | |
OSAPI_Semaphore_T * | OSAPI_Semaphore_new (void) |
Create a semaphore. More... | |
RTI_BOOL | OSAPI_Semaphore_delete (OSAPI_Semaphore_T *self) |
Delete a semaphore. More... | |
RTI_BOOL | OSAPI_Semaphore_take (OSAPI_Semaphore_T *self, RTI_INT32 timeout, RTI_INT32 *fail_reason) |
Take a semaphore. More... | |
RTI_BOOL | OSAPI_Semaphore_give (OSAPI_Semaphore_T *self) |
Give a semaphore. More... | |
Semaphore interface definition.
#define OSAPI_SEMAPHORE_TIMEOUT_INFINITE -1 |
Infinite timeout
#define OSAPI_SEMAPHORE_RESULT_OK 0 |
Semaphore ok
#define OSAPI_SEMAPHORE_RESULT_TIMEOUT 1 |
Semaphore timed out
#define OSAPI_SEMAPHORE_RESULT_ERROR 2 |
Semaphore error