summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/prlock.rst
blob: a7a736d340fb973935e0584a88503f527b97ad41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PRLock
======

A mutual exclusion lock.


Syntax
------

.. code::

   #include <prlock.h>

   typedef struct PRLock PRLock;


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

NSPR represents a lock as an opaque entity to clients of the functions
described in `"Locks" <en/NSPR_API_Reference/Locks>`__. Functions that
operate on locks do not have timeouts and are not interruptible.