Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_setprioceiling/
D1-1.c31 pthread_mutexattr_t mutex_attr; in main() local
35 error = pthread_mutexattr_init(&mutex_attr); in main()
45 error = pthread_mutexattr_setprotocol(&mutex_attr, in main()
54 error = pthread_mutex_init(&mutex, &mutex_attr); in main()
68 (void)pthread_mutexattr_destroy(&mutex_attr); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_getprioceiling/
D1-1.c31 pthread_mutexattr_t mutex_attr; in main() local
35 error = pthread_mutexattr_init(&mutex_attr); in main()
45 error = pthread_mutexattr_setprotocol(&mutex_attr, in main()
54 error = pthread_mutex_init(&mutex, &mutex_attr); in main()
68 (void)pthread_mutexattr_destroy(&mutex_attr); in main()
D3-2.c35 pthread_mutexattr_t mutex_attr; in main() local
39 error = pthread_mutexattr_init(&mutex_attr); in main()
49 error = pthread_mutexattr_setprotocol(&mutex_attr, PTHREAD_PRIO_NONE); in main()
57 error = pthread_mutex_init(&mutex, &mutex_attr); in main()
76 (void)pthread_mutexattr_destroy(&mutex_attr); in main()
D3-3.c36 pthread_mutexattr_t mutex_attr; in main() local
40 error = pthread_mutexattr_init(&mutex_attr); in main()
50 error = pthread_mutexattr_setprotocol(&mutex_attr, in main()
59 error = pthread_mutex_init(&mutex, &mutex_attr); in main()
78 (void)pthread_mutexattr_destroy(&mutex_attr); in main()
/external/v8/src/third_party/vtune/
Dittnotify_config.h260 pthread_mutexattr_t mutex_attr; \
261 int error_code = pthread_mutexattr_init(&mutex_attr); \
264 error_code = pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_RECURSIVE); \
267 error_code = pthread_mutex_init(mutex, &mutex_attr); \
270 error_code = pthread_mutexattr_destroy(&mutex_attr); \
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
Dpitest-4.c240 pthread_mutexattr_t mutex_attr; in main() local
253 mutex_attr_init(&mutex_attr); in main()
254 mutex_init(&mutex1, &mutex_attr); in main()
255 mutex_init(&mutex2, &mutex_attr); in main()
Dpitest-3.c270 pthread_mutexattr_t mutex_attr; in main() local
283 mutex_attr_init(&mutex_attr); in main()
284 mutex_init(&mutex1, &mutex_attr); in main()
285 mutex_init(&mutex2, &mutex_attr); in main()
Dpitest-1.c234 pthread_mutexattr_t mutex_attr; in main() local
246 mutex_attr_init(&mutex_attr); in main()
247 mutex_init(&mutex, &mutex_attr); in main()
Dpitest-5.c258 pthread_mutexattr_t mutex_attr; in main() local
269 mutex_attr_init(&mutex_attr); in main()
270 mutex_init(&mutex, &mutex_attr); in main()
Dpitest-6.c233 pthread_mutexattr_t mutex_attr; in main() local
245 mutex_attr_init(&mutex_attr); in main()
246 mutex_init(&mutex, &mutex_attr); in main()
Dpitest-2.c259 pthread_mutexattr_t mutex_attr; in main() local
272 mutex_attr_init(&mutex_attr); in main()
273 mutex_init(&mutex, &mutex_attr); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h226 pthread_mutexattr_t mutex_attr; \
227 int error_code = pthread_mutexattr_init(&mutex_attr); \
231 error_code = pthread_mutexattr_settype(&mutex_attr, \
236 error_code = pthread_mutex_init(mutex, &mutex_attr); \
240 error_code = pthread_mutexattr_destroy(&mutex_attr); \
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h226 pthread_mutexattr_t mutex_attr; \
227 int error_code = pthread_mutexattr_init(&mutex_attr); \
231 error_code = pthread_mutexattr_settype(&mutex_attr, \
236 error_code = pthread_mutex_init(mutex, &mutex_attr); \
240 error_code = pthread_mutexattr_destroy(&mutex_attr); \