A mutual exclusion lock.
Syntax
#include <prlock.h> typedef struct PRLock PRLock;
Description
NSPR represents a lock as an opaque entity to clients of the functions described in "Locks". Functions that operate on locks do not have timeouts and are not interruptible.