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_NewLock

Creates a new lock.

Syntax

#include <prlock.h>

PRLock* PR_NewLock(void);

Returns

The function returns one of the following values:

  • If successful, a pointer to the new lock object.
  • If unsuccessful (for example, the lock cannot be created because of resource constraints), NULL.

Description

PR_NewLock creates a new opaque lock.

Document Tags and Contributors

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