forked from mirrors/gecko-dev
Depends on D137612 Differential Revision: https://phabricator.services.mozilla.com/D137650
22 lines
364 B
ReStructuredText
22 lines
364 B
ReStructuredText
PRLock
|
|
======
|
|
|
|
A mutual exclusion lock.
|
|
|
|
|
|
Syntax
|
|
------
|
|
|
|
.. code:: eval
|
|
|
|
#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.
|