Preetam Joshi wrote: > Hi all, > > I am using the rt_sem_p and rt_sem_v API's in my semaphore application. > What > i would like to know is whether the API rt_sem_p is a blocking call or not? > Reasons being when i use it in my code the task does not block when it > encounters rt_sem_p ? > Check http://www.xenomai.org/index.php/API_documentation If you are unsure what the state your your semaphore is before calling rt_sem_p, have a look at rt_sem_inquire(). Jan