Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Host/common/
DThreadLauncher.cpp48 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/
Dtirpc_rpc_broadcast_exp_scalability.c95 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/
Dtirpc_rpc_broadcast_scalability.c95 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/
Dtirpc_rpc_call_scalability.c88 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/
Dtirpc_toplevel_clnt_call_scalability.c103 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/
Dtirpc_interlevel_clnt_call_scalability.c113 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/
Dsnd_timer01.c93 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/
Dtirpc_rpcb_rmtcall_scalability.c121 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/
Dtirpc_bottomlevel_clnt_call_scalability.c136 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/
Dtirpc_expertlevel_clnt_call_scalability.c131 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/
Dtest_common.h122 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/
Dmq_perf_tests.c714 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/
Dz_Linux_util.cpp775 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 …]