Searched refs:firstfit (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10/libpthread-105.1.4/src/
H A Dpthread_mutex.c72 PTHREAD_NOEXPORT int __mtx_markprepost(_pthread_mutex *mutex, uint32_t oupdateval, int firstfit);
369 bool firstfit = (mutex->mtxopts.options.policy == _PTHREAD_MUTEX_POLICY_FIRSTFIT); local
426 if (firstfit) {
450 if (firstfit && ((lgenval & PTH_RWL_PBIT) != 0)) {
485 int firstfit = (mutex->mtxopts.options.policy == _PTHREAD_MUTEX_POLICY_FIRSTFIT); local
514 if (firstfit) {
529 // Retry if CAS fails, or if it succeeds with firstfit and E bit already set
531 (firstfit && isebit));
544 __mtx_markprepost(_pthread_mutex *mutex, uint32_t updateval, int firstfit) argument
553 if (firstfit !
763 int firstfit = (mutex->mtxopts.options.policy == _PTHREAD_MUTEX_POLICY_FIRSTFIT); local
[all...]
/macosx-10.10/libpthread-105.1.4/kern/
H A Dkern_synch.c287 static int ksyn_queue_insert(ksyn_wait_queue_t kwq, int kqi, ksyn_waitq_element_t kwe, uint32_t mgen, int firstfit);
371 int firstfit = (flags & PTHREAD_POLICY_FLAGS_MASK) == _PTHREAD_MUTEX_POLICY_FIRSTFIT; local
379 if (firstfit) {
668 int firstfit = (flags & PTHREAD_POLICY_FLAGS_MASK) == _PTHREAD_MUTEX_POLICY_FIRSTFIT; local
673 if (firstfit == 0) {
1272 int firstfit = (flags & PTHREAD_POLICY_FLAGS_MASK) == _PTHREAD_MUTEX_POLICY_FIRSTFIT; local
1273 if (firstfit && kwq->kw_pre_rwwc != 0) {
2191 /* firstfit, arriving order */

Completed in 111 milliseconds