1
0
Fork 0
firefox/docs/nspr/reference/pr_destroylock.rst
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

30 lines
425 B
ReStructuredText

PR_DestroyLock
==============
Destroys a specified lock object.
Syntax
------
.. code::
#include <prlock.h>
void PR_DestroyLock(PRLock *lock);
Parameter
~~~~~~~~~
:ref:`PR_DestroyLock` has one parameter:
``lock``
A pointer to a lock object.
Caution
-------
The caller must ensure that no thread is currently in a lock-specific
function. Locks do not provide self-referential protection against
deletion.