Closes a specified semaphore.
Syntax
#include <pripcsem.h> NSPR_API(PRStatus) PR_CloseSemaphore(PRSem *sem);
Parameter
The function has the following parameter:
sem
- A pointer to a
PRSem
structure returned from a call toPR_OpenSemaphore
.
Closes a specified semaphore.
#include <pripcsem.h> NSPR_API(PRStatus) PR_CloseSemaphore(PRSem *sem);
The function has the following parameter:
sem
PRSem
structure returned from a call to PR_OpenSemaphore
.