summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_destroycondvar.rst
blob: 2347a2d3897d937ce9ff5cce1d84b6a9c920bf35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PR_DestroyCondVar
=================

Destroys a condition variable.


Syntax
------

.. code::

   #include <prcvar.h>

   void PR_DestroyCondVar(PRCondVar *cvar);


Parameter
~~~~~~~~~

:ref:`PR_DestroyCondVar` has one parameter:

``cvar``
   A pointer to the condition variable object to be destroyed.


Description
-----------

Before calling :ref:`PR_DestroyCondVar`, the caller is responsible for
ensuring that the condition variable is no longer in use.