Mozilla.com

  1. MDC
  2. Main Page
  3. PR_DestroyLock
Table of contents
  1. 1. Syntax
  2. 2. Parameter
  3. 3. Caution

PR_DestroyLock

Table of contents
  1. 1. Syntax
  2. 2. Parameter
  3. 3. Caution

< NSPR API Reference < Locks

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.

Page last modified 06:03, 5 Mar 2006 by Rappo

Files (0)