Searched refs:mutex_attr (Results 1 – 4 of 4) sorted by relevance
276 const struct pthread_mutex_attr *mutex_attr, in mutex_init() argument283 if (mutex_attr == NULL) { in mutex_init()286 attr = mutex_attr; in mutex_init()333 pthread_mutex_attr *mutex_attr) in shared_mutex_init() argument359 if (mutex_attr == NULL) in shared_mutex_init()360 mutex_attr = &foobar_mutex_attr; in shared_mutex_init()361 mutex_init_body(pmtx, mutex_attr); in shared_mutex_init()379 const pthread_mutexattr_t * __restrict mutex_attr) in __Tthr_mutex_init() argument386 if (mutex_attr != NULL) { in __Tthr_mutex_init()387 ret = mutex_check_attr(*mutex_attr); in __Tthr_mutex_init()[all …]
225 pthread_mutexattr_t mutex_attr; \226 int error_code = pthread_mutexattr_init(&mutex_attr); \230 error_code = pthread_mutexattr_settype(&mutex_attr, \235 error_code = pthread_mutex_init(mutex, &mutex_attr); \239 error_code = pthread_mutexattr_destroy(&mutex_attr); \
294 pthread_mutexattr_t mutex_attr; \295 int error_code = pthread_mutexattr_init(&mutex_attr); \300 pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_RECURSIVE); \304 error_code = pthread_mutex_init(mutex, &mutex_attr); \308 error_code = pthread_mutexattr_destroy(&mutex_attr); \
1927 pthread_mutexattr_t mutex_attr; in __kmp_runtime_initialize() local1986 status = pthread_mutexattr_init(&mutex_attr); in __kmp_runtime_initialize()1988 status = pthread_mutex_init(&__kmp_wait_mx.m_mutex, &mutex_attr); in __kmp_runtime_initialize()1990 status = pthread_mutexattr_destroy(&mutex_attr); in __kmp_runtime_initialize()