Lines Matching defs:interlock
161 pthread_mutex_t *interlock;
204 * Grab the interlock. Once we have that, we
207 interlock = pthread__hashlock(ptr);
208 pthread_mutex_lock(interlock);
216 pthread_mutex_unlock(interlock);
225 error = pthread__park(self, interlock, &ptr->ptr_rblocked,
229 pthread__rwlock_early(self, ptr, interlock);
280 pthread_mutex_t *interlock;
326 * Grab the interlock. Once we have that, we
329 interlock = pthread__hashlock(ptr);
330 pthread_mutex_lock(interlock);
339 pthread_mutex_unlock(interlock);
347 error = pthread__park(self, interlock, &ptr->ptr_wblocked,
351 pthread__rwlock_early(self, ptr, interlock);
447 pthread_mutex_t *interlock;
496 * Grab the interlock. Once we have that, we can adjust
500 interlock = pthread__hashlock(ptr);
501 pthread_mutex_lock(interlock);
504 pthread_mutex_unlock(interlock);
535 interlock);
542 * our interlock before awakening all
561 interlock);
563 pthread_mutex_unlock(interlock);
571 * The rwlock's interlock is held on entry, and the caller has been
576 pthread_mutex_t *interlock)
581 pthread_mutex_lock(interlock);
583 pthread_mutex_unlock(interlock);
608 pthread_mutex_unlock(interlock);