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) ;

semIDSemaphore handle
Zero on success, else error code.
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()

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Tue Jul 10 2018 14:54:14 by Doxygen 1.8.13