Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PR_NewCondVar

Creates a new condition variable.

Syntax

#include <prcvar.h>

PRCondVar* PR_NewCondVar(PRLock *lock);

Parameter

PR_NewCondVar has one parameter:

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

Returns

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, Rappo
 Last updated by: teoli,