Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/docs/nspr/reference/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 552 B image not shown  

Quelle  pr_newcondvar.rst   Sprache: unbekannt

 
PR_NewCondVar
=============

Creates a new condition variable.


Syntax
------

.. code::

   #include <prcvar.h>

   PRCondVar* PR_NewCondVar(PRLock *lock);


Parameter
~~~~~~~~~

:ref:`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``.

[ Dauer der Verarbeitung: 0.26 Sekunden  (vorverarbeitet)  ]