Searched refs:bar_lock (Results 1 – 2 of 2) sorted by relevance
51 pthread_mutex_init(&bar->bar_lock, NULL); in barrier_init()65 pthread_mutex_lock(&bar->bar_lock); in barrier_wait()68 pthread_mutex_unlock(&bar->bar_lock); in barrier_wait()88 pthread_mutex_unlock(&bar->bar_lock); in barrier_wait()
48 pthread_mutex_t bar_lock; /* protects bar_numin */ member