Searched refs:pagelocks_ (Results 1 – 2 of 2) sorted by relevance
41 pagelocks_ = new pthread_mutex_t[q_size_]; in FineLockPEQueue()49 pthread_mutex_init(&(pagelocks_[i]), NULL); in FineLockPEQueue()55 sat_assert(pthread_mutex_lock(&(pagelocks_[i])) == 0); in FineLockPEQueue()152 pthread_mutex_destroy(&(pagelocks_[i])); in ~FineLockPEQueue()153 delete[] pagelocks_; in ~FineLockPEQueue()358 if (pthread_mutex_trylock(&(pagelocks_[index])) == 0) { in GetRandomWithPredicateTag()362 pthread_mutex_unlock(&(pagelocks_[index])); in GetRandomWithPredicateTag()431 return (pthread_mutex_unlock(&(pagelocks_[index])) == 0); in PutEmpty()447 return (pthread_mutex_unlock(&(pagelocks_[index])) == 0); in PutValid()
88 pthread_mutex_t *pagelocks_; // Per-page-entry locks. variable