Home | History | Annotate | Download | only in tests

Lines Matching defs:mutex1

33   pthread_mutex_t mutex1;
47 pthread_mutex_init (&bar->mutex1, NULL);
60 pthread_mutex_lock (&bar->mutex1);
61 pthread_mutex_unlock (&bar->mutex1);
63 pthread_mutex_destroy (&bar->mutex1);
73 pthread_mutex_lock (&bar->mutex1);
75 pthread_mutex_unlock (&bar->mutex1);
82 pthread_mutex_lock (&bar->mutex1);
106 pthread_mutex_unlock (&bar->mutex1);
117 pthread_mutex_unlock (&bar->mutex1);
133 understand that bar->arrived is protected by mutex1 whilst threads