Home
last modified time | relevance | path

Searched refs:mutex_attr (Results 1 – 4 of 4) sorted by relevance

/freebsd/lib/libthr/thread/
H A Dthr_mutex.c276 const struct pthread_mutex_attr *mutex_attr, in mutex_init() argument
283 if (mutex_attr == NULL) { in mutex_init()
286 attr = mutex_attr; in mutex_init()
333 pthread_mutex_attr *mutex_attr) in shared_mutex_init() argument
359 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() argument
386 if (mutex_attr != NULL) { in __Tthr_mutex_init()
387 ret = mutex_check_attr(*mutex_attr); in __Tthr_mutex_init()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITProfiling/
H A Dittnotify_config.h225 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); \
/freebsd/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/
H A Dittnotify_config.h294 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); \
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp1927 pthread_mutexattr_t mutex_attr; in __kmp_runtime_initialize() local
1986 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()