NXCondBroadcast

Wakes up all the threads blocked on the condition variable.

Library:LibC
Classification:NKS
Service:Synchronization

Syntax

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

Parameters

cond

(IN) Points to the condition variable to signal.

Remarks

Condition variables are stateless. Calling NXCondBroadcast on a condition variable that does not have any waiting threads has no effect and is not remembered; a subsequent call to NXCondWait or NXCondTimedWait will block the calling thread.

See Also