Searched refs:mutex_attr (Results 1 – 12 of 12) sorted by relevance
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_setprioceiling/ |
D | 1-1.c | 31 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/ |
D | 1-1.c | 31 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()
|
D | 3-3.c | 36 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()
|
D | 3-2.c | 35 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/ |
D | user_atomic.h | 191 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);
|
D | user_socketvar.h | 287 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); \
|
D | user_socket.c | 94 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/ |
D | ittnotify_config.h | 225 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/ |
D | ittnotify_config.h | 225 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/ |
D | ittnotify_config.h | 226 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/ |
D | ittnotify_config.h | 280 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/ |
D | z_Linux_util.cpp | 1853 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()
|