Documentation Home
>
Multithreaded Programming Guide
>
ChapterĀ 6 Programming With Solaris Threads
>
Similar Synchronization Functions: Semaphores
>
Block on a Semaphore Count
> sema_wait Syntax
Multithreaded Programming Guide
Previous
: Increment a Semaphore
Next
: sema_wait Return Values
sema_wait
Syntax
#include <thread.h> int sema_wait(sema_t *
sp
);
Previous
: Increment a Semaphore
Next
: sema_wait Return Values
© 2010, Oracle Corporation and/or its affiliates