NXSemaFree

Frees the specified semaphore.

Library:LibC
Classification:NKS
Service:Synchronization

Syntax

  #include <nks/synch.h>
   
  void NXSemaFree (
     NXSema_t  *sema);
  

Parameters

sema

(IN) Points to the semaphore to free.

Remarks

The semaphore being deallocated must have been allocated by calling NXSemaAlloc.

See Also