IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


◆ RTX_Sem_Wait()

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
semIDSemaphore 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
V0.80





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Dec 12 2017 09:23:36 by Doxygen 1.8.13