Searched refs:mutexattr (Results 1 – 8 of 8) sorted by relevance
/third_party/ltp/testcases/realtime/func/pi-tests/ |
D | testpi-6.c | 70 pthread_mutexattr_t mutexattr; in do_test() local 73 if (pthread_mutexattr_init(&mutexattr) != 0) in do_test() 76 if (pthread_mutexattr_setrobust(&mutexattr, in do_test() 80 if (pthread_mutexattr_getrobust(&mutexattr, &robust) != 0) in do_test() 85 retc = pthread_mutex_init(&child_mutex, &mutexattr); in do_test()
|
D | testpi-5.c | 69 pthread_mutexattr_t mutexattr; in do_test() local 74 if (pthread_mutexattr_init(&mutexattr) != 0) in do_test() 77 if (pthread_mutexattr_setprotocol(&mutexattr, in do_test() 81 if (pthread_mutexattr_getprotocol(&mutexattr, &protocol) != 0) in do_test() 86 retc = pthread_mutex_init(&child_mutex, &mutexattr); in do_test()
|
D | sbrk_mutex.c | 102 pthread_mutexattr_t mutexattr; in main() local 107 if (pthread_mutexattr_init(&mutexattr) != 0) { in main() 110 if (pthread_mutexattr_setrobust(&mutexattr, PTHREAD_MUTEX_ROBUST) in main() 114 if (pthread_mutexattr_getrobust(&mutexattr, &robust) != 0) { in main() 126 if ((ret = pthread_mutex_init(mutexes[m], &mutexattr))) { in main()
|
/third_party/glslang/glslang/OSDependent/Unix/ |
D | ossource.cpp | 177 pthread_mutexattr_t mutexattr; in InitGlobalLock() local 178 pthread_mutexattr_init(&mutexattr); in InitGlobalLock() 179 pthread_mutexattr_settype(&mutexattr, PTHREAD_MUTEX_RECURSIVE); in InitGlobalLock() 180 pthread_mutex_init(&gMutex, &mutexattr); in InitGlobalLock()
|
/third_party/ltp/testcases/realtime/stress/pi-tests/ |
D | testpi-3.c | 370 pthread_mutexattr_t mutexattr; in main() local 373 if (pthread_mutexattr_init(&mutexattr) != 0) { in main() 377 (&mutexattr, PTHREAD_PRIO_INHERIT) != 0) { in main() 380 if (pthread_mutexattr_getprotocol(&mutexattr, &protocol) != 0) { in main() 385 if ((retc = pthread_mutex_init(&glob_mutex, &mutexattr)) != 0) { in main()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_pthread.h | 105 int dng_pthread_mutexattr_init(dng_pthread_mutexattr_t *mutexattr); 106 int dng_pthread_mutexattr_settype(dng_pthread_mutexattr_t *mutexattr, int /*the options*/);
|
D | dng_pthread.cpp | 539 int dng_pthread_mutexattr_init(dng_pthread_mutexattr_t* mutexattr) in dng_pthread_mutexattr_init() argument 546 int dng_pthread_mutexattr_settype(dng_pthread_mutexattr_t* mutexattr, int type) in dng_pthread_mutexattr_settype() argument
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | thread_utils.c | 105 static int pthread_mutex_init(pthread_mutex_t* const mutex, void* mutexattr) { in pthread_mutex_init() argument 106 (void)mutexattr; in pthread_mutex_init()
|