Help us test MDN's new front-end: https://discourse.mozilla.org/t/help-us-test-mdns-new-react-front-end-beta/42593

PR_DestroyLock

Jump to:

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: wbamberg, mdnwebdocs-bot, teoli, alecananian
Last updated by: wbamberg,