Wait for access to a either a resource or counting type semaphore without timeout (wait forever, if necessary).
This function is equivalent to:
RTX_Sem_Timeout(semID, 0) ;
or API
RTX_Wait_Sem_Priority(semID, 0, FIXED_WAIT_PRIORITY) ;
- Parameters:
-
- Returns:
- Zero on success, else error code.
- Compatibility:
- This API is not available in the SC1x, SC2x and SC1x3 C-Library. When source file compatibility is required, the alternative RTX_Wait_Sem_Priority() can be used instead.
- See also:
- RTX_Get_Sem() RTX_Wait_Sem_Priority() RTX_Sem_Timeout()
- Since:
- SC2x3 V1.00 - CLIB V1.00