Home
last modified time | relevance | path

Searched refs:mutexattr (Results 1 – 7 of 7) sorted by relevance

/third_party/ltp/testcases/realtime/func/pi-tests/
Dtestpi-6.c70 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()
Dtestpi-5.c69 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()
Dsbrk_mutex.c102 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/ltp/testcases/realtime/stress/pi-tests/
Dtestpi-3.c370 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/
Ddng_pthread.h105 int dng_pthread_mutexattr_init(dng_pthread_mutexattr_t *mutexattr);
106 int dng_pthread_mutexattr_settype(dng_pthread_mutexattr_t *mutexattr, int /*the options*/);
Ddng_pthread.cpp539 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/
Dthread_utils.c105 static int pthread_mutex_init(pthread_mutex_t* const mutex, void* mutexattr) { in pthread_mutex_init() argument
106 (void)mutexattr; in pthread_mutex_init()