Lines Matching refs:lock
59 * NSPR represents the lock as an opaque entity to the client of the
77 ** Returns a pointer to a newly created opaque lock object.
81 ** If the lock can not be created because of resource constraints, NULL
90 ** Destroys a given opaque lock object.
91 ** INPUTS: PRLock *lock
96 NSPR_API(void) PR_DestroyLock(PRLock *lock);
101 ** Lock a lock.
102 ** INPUTS: PRLock *lock
107 NSPR_API(void) PR_Lock(PRLock *lock);
112 ** Unlock a lock. Unlocking an unlocked lock has undefined results.
113 ** INPUTS: PRLock *lock
117 ** Returns PR_FAILURE if the caller does not own the lock.
119 NSPR_API(PRStatus) PR_Unlock(PRLock *lock);