18 #ifndef osapi_semaphore_h
19 #define osapi_semaphore_h
22 #include "osapi/osapi_dll.h"
42 #define OSAPI_SEMAPHORE_TIMEOUT_INFINITE -1
47 #define OSAPI_SEMAPHORE_RESULT_OK 0
52 #define OSAPI_SEMAPHORE_RESULT_TIMEOUT 1
57 #define OSAPI_SEMAPHORE_RESULT_ERROR 2
59 struct OSAPI_Semaphore;
87 SHOULD_CHECK_RETURN OSAPIDllExport
RTI_BOOL
109 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL
111 RTI_INT32 *fail_reason);
124 MUST_CHECK_RETURN OSAPIDllExport
RTI_BOOL