/external/llvm-project/lldb/source/Host/common/ |
D | ThreadLauncher.cpp | 48 pthread_attr_t thread_attr; in LaunchThread() local 51 if (::pthread_attr_init(&thread_attr) == 0) { in LaunchThread() 54 if (::pthread_attr_getstacksize(&thread_attr, in LaunchThread() 57 if (::pthread_attr_setstacksize(&thread_attr, min_stack_byte_size) == in LaunchThread() 59 thread_attr_ptr = &thread_attr; in LaunchThread() 69 ::pthread_attr_destroy(&thread_attr); in LaunchThread()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/ |
D | tirpc_rpc_broadcast_exp_scalability.c | 95 pthread_attr_t thread_attr; in main() local 112 pthread_attr_init(&thread_attr); in main() 115 …pthread_attr_getstacksize(&thread_attr, (size_t *) & ssz); //For debug purpose, get default thread… in main() 124 pthread_attr_setstacksize(&thread_attr, 40000); //Set thread stack size to 40 KB in main() 144 (&pThreadArray[j], &thread_attr, my_thread_process, in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/ |
D | tirpc_rpc_broadcast_scalability.c | 95 pthread_attr_t thread_attr; in main() local 112 pthread_attr_init(&thread_attr); in main() 115 …pthread_attr_getstacksize(&thread_attr, (size_t *) & ssz); //For debug purpose, get default thread… in main() 124 pthread_attr_setstacksize(&thread_attr, 40000); //Set thread stack size to 40 KB in main() 144 (&pThreadArray[j], &thread_attr, my_thread_process, in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/ |
D | tirpc_rpc_call_scalability.c | 88 pthread_attr_t thread_attr; in main() local 105 pthread_attr_init(&thread_attr); in main() 108 …pthread_attr_getstacksize(&thread_attr, (size_t *) & ssz); //For debug purpose, get default thread… in main() 117 pthread_attr_setstacksize(&thread_attr, 40000); //Set thread stack size to 40 KB in main() 137 (&pThreadArray[j], &thread_attr, my_thread_process, in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/ |
D | tirpc_toplevel_clnt_call_scalability.c | 103 pthread_attr_t thread_attr; in main() local 120 pthread_attr_init(&thread_attr); in main() 123 …pthread_attr_getstacksize(&thread_attr, (size_t *) & ssz); //For debug purpose, get default thread… in main() 132 pthread_attr_setstacksize(&thread_attr, 40000); //Set thread stack size to 40 KB in main() 152 (&pThreadArray[j], &thread_attr, my_thread_process, in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/ |
D | tirpc_interlevel_clnt_call_scalability.c | 113 pthread_attr_t thread_attr; in main() local 130 pthread_attr_init(&thread_attr); in main() 133 …pthread_attr_getstacksize(&thread_attr, (size_t *) & ssz); //For debug purpose, get default thread… in main() 142 pthread_attr_setstacksize(&thread_attr, 40000); //Set thread stack size to 40 KB in main() 162 (&pThreadArray[j], &thread_attr, my_thread_process, in main()
|
/external/ltp/testcases/kernel/sound/ |
D | snd_timer01.c | 93 pthread_attr_t thread_attr; in run() local 95 pthread_attr_init(&thread_attr); in run() 96 pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_DETACHED); in run() 97 SAFE_PTHREAD_CREATE(&th, &thread_attr, ioctl_thread, NULL); in run()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/ |
D | tirpc_rpcb_rmtcall_scalability.c | 121 pthread_attr_t thread_attr; in main() local 138 pthread_attr_init(&thread_attr); in main() 141 …pthread_attr_getstacksize(&thread_attr, (size_t *) & ssz); //For debug purpose, get default thread… in main() 150 pthread_attr_setstacksize(&thread_attr, 40000); //Set thread stack size to 40 KB in main() 170 (&pThreadArray[j], &thread_attr, my_thread_process, in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/ |
D | tirpc_bottomlevel_clnt_call_scalability.c | 136 pthread_attr_t thread_attr; in main() local 153 pthread_attr_init(&thread_attr); in main() 156 …pthread_attr_getstacksize(&thread_attr, (size_t *) & ssz); //For debug purpose, get default thread… in main() 165 pthread_attr_setstacksize(&thread_attr, 40000); //Set thread stack size to 40 KB in main() 185 (&pThreadArray[j], &thread_attr, my_thread_process, in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/ |
D | tirpc_expertlevel_clnt_call_scalability.c | 131 pthread_attr_t thread_attr; in main() local 148 pthread_attr_init(&thread_attr); in main() 151 …pthread_attr_getstacksize(&thread_attr, (size_t *) & ssz); //For debug purpose, get default thread… in main() 160 pthread_attr_setstacksize(&thread_attr, 40000); //Set thread stack size to 40 KB in main() 180 (&pThreadArray[j], &thread_attr, my_thread_process, in main()
|
/external/vulkan-validation-layers/tests/ |
D | test_common.h | 122 pthread_attr_t thread_attr; in test_platform_thread_create() local 123 pthread_attr_init(&thread_attr); in test_platform_thread_create() 124 return pthread_create(thread, &thread_attr, func, data); in test_platform_thread_create()
|
/external/linux-kselftest/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 714 pthread_attr_t thread_attr; in main() local 726 pthread_attr_init(&thread_attr); in main() 727 pthread_attr_setaffinity_np(&thread_attr, cpu_set_size, in main() 729 if (pthread_create(&cpu_threads[i], &thread_attr, thread_func, in main() 732 pthread_attr_destroy(&thread_attr); in main()
|
/external/llvm-project/openmp/runtime/src/ |
D | z_Linux_util.cpp | 775 pthread_attr_t thread_attr; in __kmp_create_worker() local 812 status = pthread_attr_init(&thread_attr); in __kmp_create_worker() 816 status = pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_JOINABLE); in __kmp_create_worker() 842 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker() 852 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker() 865 pthread_create(&handle, &thread_attr, __kmp_launch_worker, (void *)th); in __kmp_create_worker() 887 status = pthread_attr_destroy(&thread_attr); in __kmp_create_worker() 907 pthread_attr_t thread_attr; in __kmp_create_monitor() local 938 status = pthread_attr_init(&thread_attr); in __kmp_create_monitor() 942 status = pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_JOINABLE); in __kmp_create_monitor() [all …]
|