6.17 void rtkSemaphoreP(struct Semaphore *s)

This function decrements the value and requests the semaphore pointed to by s. If the semaphore is `not available' 3 , the call blocks the calling thread and places the calling thread onto a queue of awaiting threads of the semaphore.



Copyright © 2008-10-25 by Tak Auyeung