We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE


Notifies all of the threads waiting on a specified condition variable.


#include <prcvar.h>

PRStatus PR_NotifyAllCondVar(PRCondVar *cvar);


The function returns one of the following values:

  • If successful, PR_SUCCESS.
  • If unsuccessful (for example, if the caller has not locked the lock associated with the condition variable), PR_FAILURE.


The calling thread must hold the lock that protects the condition, as well as the invariants that are tightly bound to the condition.

A call to PR_NotifyAllCondVar causes all of the threads waiting on the specified condition variable to be promoted to a ready state. If no threads are waiting, the operation is no-op.

Document Tags and Contributors

 Contributors to this page: teoli, alecananian
 Last updated by: teoli,