Lines Matching defs:dt_qsort_lock
51 * they are protected by a global static lock, dt_qsort_lock.
54 static pthread_mutex_t dt_qsort_lock = PTHREAD_MUTEX_INITIALIZER;
56 RTCRITSECT dt_qsort_lock;
1267 (void) pthread_mutex_lock(&dt_qsort_lock);
1269 RTCritSectEnter(&dt_qsort_lock);
1285 (void) pthread_mutex_unlock(&dt_qsort_lock);
1287 RTCritSectLeave(&dt_qsort_lock);
1680 * dt_qsort_lock here, and hold it across all of our subsequent
1684 (void) pthread_mutex_lock(&dt_qsort_lock);
1686 RTCritSectEnter(&dt_qsort_lock);
1717 (void) pthread_mutex_unlock(&dt_qsort_lock);
1719 RTCritSectLeave(&dt_qsort_lock);
1771 (void) pthread_mutex_unlock(&dt_qsort_lock);
1773 RTCritSectLeave(&dt_qsort_lock);