Home
last modified time | relevance | path

Searched refs:mtx_a (Results 1 – 2 of 2) sorted by relevance

/third_party/musl/libc-test/src/functional/
Dpthread_robust.c32 pthread_mutexattr_t mtx_a; in f() local
38 TEST(r, pthread_mutexattr_init(&mtx_a), "initializing mutex attr"); in f()
39 TEST(r, pthread_mutexattr_setrobust(&mtx_a, PTHREAD_MUTEX_ROBUST), "setting robust attribute"); in f()
41 …TEST(r, pthread_mutexattr_setpshared(&mtx_a, PTHREAD_PROCESS_SHARED), "setting pshared attribute"); in f()
43 TEST(r, pthread_mutexattr_setprotocol(&mtx_a, PTHREAD_PRIO_INHERIT), "setting PI attribute"); in f()
44 TEST(r, pthread_mutex_init(&mtx, &mtx_a), "initializing robust mutex"); in f()
54 TEST(r, pthread_mutex_init(&mtx, &mtx_a), "initializing robust mutex"); in f()
63 TEST(r, pthread_mutex_init(&mtx, &mtx_a), ""); in f()
/third_party/musl/libc-test/src/regression/
Dpthread-robust-detach.c27 pthread_mutexattr_t mtx_a; in f() local
32 T(r, pthread_mutexattr_init(&mtx_a)); in f()
33 T(r, pthread_mutexattr_setrobust(&mtx_a, PTHREAD_MUTEX_ROBUST)); in f()
35 T(r, pthread_mutexattr_setpshared(&mtx_a, PTHREAD_PROCESS_SHARED)); in f()
36 T(r, pthread_mutex_init(&mtx, &mtx_a)); in f()