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


Jump to:

Creates a new condition variable.


#include <prcvar.h>

PRCondVar* PR_NewCondVar(PRLock *lock);


PR_NewCondVar has one parameter:

The identity of the mutex that protects the monitored data, including this condition variable.


The function returns one of the following values:

  • If successful, a pointer to the new condition variable object.
  • If unsuccessful (for example, if system resources are unavailable), NULL.

Document Tags and Contributors

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