A mutual exclusion lock.
#include <prlock.h> typedef struct PRLock PRLock;
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.