Lines Matching defs:lock
59 * NSPR represents the lock as an opaque entity to the client of the
72 ** Returns a pointer to a newly created opaque lock object.
76 ** If the lock can not be created because of resource constraints, NULL
85 ** Destroys a given opaque lock object.
86 ** INPUTS: PRLock *lock
91 NSPR_API(void) PR_DestroyLock(PRLock *lock);
96 ** Lock a lock.
97 ** INPUTS: PRLock *lock
102 NSPR_API(void) PR_Lock(PRLock *lock);
107 ** Unlock a lock. Unlocking an unlocked lock has undefined results.
108 ** INPUTS: PRLock *lock
112 ** Returns PR_FAILURE if the caller does not own the lock.
114 NSPR_API(PRStatus) PR_Unlock(PRLock *lock);