Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PR_DestroyLock

Destroys a specified lock object.

Syntax

#include <prlock.h>

void PR_DestroyLock(PRLock *lock);

Parameter

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.

Document Tags and Contributors

 Contributors to this page: teoli, Rappo
 Last updated by: teoli,