Lines Matching refs:lock
55 pthread_mutex_t* lock;64 pthread_mutex_t* lock = my_args->lock;67 // acquire the lock68 pthread_mutex_lock(lock);73 // release the lock74 pthread_mutex_unlock(lock);94 // create a shared lock95 pthread_mutex_t lock;96 pthread_mutex_init(&lock, NULL);104 t_args[tid].lock = &lock;