IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


RTX_EC RTX_Sem_Wait ( RTX_ID  semID  ) 

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:
semID Semaphore handle
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





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:37 2017 by Doxygen 1.6.1