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