Searched refs:bar_lock (Results 1 – 2 of 2) sorted by relevance
49 pthread_mutex_init(&bar->bar_lock, NULL); in barrier_init()59 pthread_mutex_lock(&bar->bar_lock); in barrier_wait()62 pthread_mutex_unlock(&bar->bar_lock); in barrier_wait()74 pthread_mutex_unlock(&bar->bar_lock); in barrier_wait()
43 pthread_mutex_t bar_lock; /* protects bar_numin */ member