NXCondDeinit

Deinitializes the condition variable.

Library:LibC
Classification:NKS
Service:Synchronization

Syntax

  #include <nks/synch.h>
   
  void NXCondDeinit(
     NXCond_t  *cond);
  

Parameters

cond

(IN) Points to the condition variable to be deinitialized.

Remarks

NXCondDeinit does not release the memory allocated to the condition variable; however, it does release the memory allocated with the NXCondInit function.

To release the memory for the condition variable, use the function paired with the allocate function. For example, if you used malloc to allocate the memory for the condition variable, use free to release the memory.

See Also