Home
last modified time | relevance | path

Searched refs:mutex_attr (Results 1 – 12 of 12) 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-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()
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()
/external/usrsctp/usrsctplib/
Duser_atomic.h191 pthread_mutexattr_t mutex_attr;
193 pthread_mutexattr_init(&mutex_attr);
195 pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_ERRORCHECK);
197 pthread_mutex_init(&accept_mtx, &mutex_attr);
198 pthread_mutexattr_destroy(&mutex_attr);
Duser_socketvar.h287 pthread_mutexattr_t mutex_attr; \
289 pthread_mutexattr_init(&mutex_attr); \
290 pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_ERRORCHECK); \
291 pthread_mutex_init(SOCKBUF_MTX(_sb), &mutex_attr); \
292 pthread_mutexattr_destroy(&mutex_attr); \
Duser_socket.c94 pthread_mutexattr_t mutex_attr; in init_sync()
96 pthread_mutexattr_init(&mutex_attr); in init_sync()
98 pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_ERRORCHECK); in init_sync()
100 pthread_mutex_init(&accept_mtx, &mutex_attr); in init_sync()
101 pthread_mutexattr_destroy(&mutex_attr); in init_sync()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/
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); \
/external/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
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); \
/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); \
/external/llvm-project/openmp/runtime/src/thirdparty/ittnotify/
Dittnotify_config.h280 pthread_mutexattr_t mutex_attr; \
281 int error_code = pthread_mutexattr_init(&mutex_attr); \
285 error_code = pthread_mutexattr_settype(&mutex_attr, \
290 error_code = pthread_mutex_init(mutex, &mutex_attr); \
294 error_code = pthread_mutexattr_destroy(&mutex_attr); \
/external/llvm-project/openmp/runtime/src/
Dz_Linux_util.cpp1853 pthread_mutexattr_t mutex_attr; in __kmp_runtime_initialize() local
1904 status = pthread_mutexattr_init(&mutex_attr); in __kmp_runtime_initialize()
1906 status = pthread_mutex_init(&__kmp_wait_mx.m_mutex, &mutex_attr); in __kmp_runtime_initialize()