Home | History | Annotate | Download | only in nspr

Lines Matching defs:lock

37 ** Description:	API to basic reader-writer lock functions of NSPR.
51 * The reader writer lock, PRRWLock, is an opaque object to the clients
64 ** Returns a pointer to a newly created reader-writer lock object.
65 ** INPUTS: Lock rank
66 ** Lock name
69 ** If the lock cannot be created because of resource constraints, NULL
78 ** Destroys a given RW lock object.
79 ** INPUTS: PRRWLock *lock - Lock to be freed.
83 NSPR_API(void) PR_DestroyRWLock(PRRWLock *lock);
88 ** Apply a read lock (non-exclusive) on a RWLock
89 ** INPUTS: PRRWLock *lock - Lock to be read-locked.
93 NSPR_API(void) PR_RWLock_Rlock(PRRWLock *lock);
98 ** Apply a write lock (exclusive) on a RWLock
99 ** INPUTS: PRRWLock *lock - Lock to write-locked.
103 NSPR_API(void) PR_RWLock_Wlock(PRRWLock *lock);
108 ** Release a RW lock. Unlocking an unlocked lock has undefined results.
109 ** INPUTS: PRRWLock *lock - Lock to unlocked.
113 NSPR_API(void) PR_RWLock_Unlock(PRRWLock *lock);