Lines Matching defs:lock

47 ** diagnostic message when a lock inversion condition is
50 ** The lock ordering detection is complile-time enabled only. in
52 ** directly to PRLock functions, providing no lock order
65 ** lock hierarchy.
76 ** Opaque type for ordered lock.
97 ** DESCRIPTION: PR_CreateOrderedLock() creates an ordered lock.
100 ** order: user defined order of this lock.
101 ** name: name of the lock. For debugging purposes.
126 ** DESCRIPTION: PR_DestroyOrderedLock() destroys the ordered lock
127 ** referenced by lock.
129 ** INPUTS: lock: pointer to a PROrderedLock
131 ** OUTPUTS: the lock is destroyed
139 #define PR_DESTROY_ORDERED_LOCK(lock) PR_DestroyOrderedLock((lock))
141 #define PR_DESTROY_ORDERED_LOCK(lock) PR_DestroyLock((lock))
146 PROrderedLock *lock
150 ** FUNCTION: PR_LockOrderedLock() -- Lock an ordered lock
152 ** DESCRIPTION: PR_LockOrderedLock() locks the ordered lock
153 ** referenced by lock. If the order of lock is less than or equal
154 ** to the order of the highest lock held by the locking thread,
157 ** INPUTS: lock: a pointer to a PROrderedLock
159 ** OUTPUTS: The lock is held or the fucntion asserts.
167 #define PR_LOCK_ORDERED_LOCK(lock) PR_LockOrderedLock((lock))
169 #define PR_LOCK_ORDERED_LOCK(lock) PR_Lock((lock))
174 PROrderedLock *lock
180 ** DESCRIPTION: PR_UnlockOrderedLock() unlocks the lock referenced
181 ** by lock.
183 ** INPUTS: lock: a pointer to a PROrderedLock
185 ** OUTPUTS: the lock is unlocked
195 #define PR_UNLOCK_ORDERED_LOCK(lock) PR_UnlockOrderedLock((lock))
197 #define PR_UNLOCK_ORDERED_LOCK(lock) PR_Unlock((lock))
202 PROrderedLock *lock