Lines Matching refs:mutex
69 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; in BM_pthread_mutex_lock() local
72 pthread_mutex_lock(&mutex); in BM_pthread_mutex_lock()
73 pthread_mutex_unlock(&mutex); in BM_pthread_mutex_lock()
79 pthread_mutex_t mutex = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; in BM_pthread_mutex_lock_ERRORCHECK() local
82 pthread_mutex_lock(&mutex); in BM_pthread_mutex_lock_ERRORCHECK()
83 pthread_mutex_unlock(&mutex); in BM_pthread_mutex_lock_ERRORCHECK()
89 pthread_mutex_t mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; in BM_pthread_mutex_lock_RECURSIVE() local
92 pthread_mutex_lock(&mutex); in BM_pthread_mutex_lock_RECURSIVE()
93 pthread_mutex_unlock(&mutex); in BM_pthread_mutex_lock_RECURSIVE()
100 pthread_mutex_t mutex; member
107 pthread_mutex_init(&mutex, &attr); in PIMutex()
112 pthread_mutex_destroy(&mutex); in ~PIMutex()
121 pthread_mutex_lock(&m.mutex); in BM_pthread_mutex_lock_PI()
122 pthread_mutex_unlock(&m.mutex); in BM_pthread_mutex_lock_PI()
131 pthread_mutex_lock(&m.mutex); in BM_pthread_mutex_lock_ERRORCHECK_PI()
132 pthread_mutex_unlock(&m.mutex); in BM_pthread_mutex_lock_ERRORCHECK_PI()
141 pthread_mutex_lock(&m.mutex); in BM_pthread_mutex_lock_RECURSIVE_PI()
142 pthread_mutex_unlock(&m.mutex); in BM_pthread_mutex_lock_RECURSIVE_PI()