Creates a new lock.

Syntax

#include <prlock.h>

PRLock* PR_NewLock(void);

Returns

The function returns one of the following values:

Description

PR_NewLock creates a new opaque lock.