/src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/ |
tsan_thread.cc | 50 pthread_t threads[kAlive] = {}; local in function:TEST 52 if (threads[i % kAlive]) 53 pthread_join(threads[i % kAlive], 0); 54 pthread_create(&threads[i % kAlive], 0, thread_alot_func, 0); 57 pthread_join(threads[i], 0);
|
tsan_thread.cc | 50 pthread_t threads[kAlive] = {}; local in function:TEST 52 if (threads[i % kAlive]) 53 pthread_join(threads[i % kAlive], 0); 54 pthread_create(&threads[i % kAlive], 0, thread_alot_func, 0); 57 pthread_join(threads[i], 0);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_mutex_test.cc | 107 pthread_t threads[kThreads]; local in function:__sanitizer::TEST 109 PTHREAD_CREATE(&threads[i], 0, lock_thread<SpinMutex>, &data); 111 PTHREAD_JOIN(threads[i], 0); 118 pthread_t threads[kThreads]; local in function:__sanitizer::TEST 120 PTHREAD_CREATE(&threads[i], 0, try_thread<SpinMutex>, &data); 122 PTHREAD_JOIN(threads[i], 0); 129 pthread_t threads[kThreads]; local in function:__sanitizer::TEST 131 PTHREAD_CREATE(&threads[i], 0, lock_thread<BlockingMutex>, &data); 133 PTHREAD_JOIN(threads[i], 0);
|
sanitizer_mutex_test.cc | 107 pthread_t threads[kThreads]; local in function:__sanitizer::TEST 109 PTHREAD_CREATE(&threads[i], 0, lock_thread<SpinMutex>, &data); 111 PTHREAD_JOIN(threads[i], 0); 118 pthread_t threads[kThreads]; local in function:__sanitizer::TEST 120 PTHREAD_CREATE(&threads[i], 0, try_thread<SpinMutex>, &data); 122 PTHREAD_JOIN(threads[i], 0); 129 pthread_t threads[kThreads]; local in function:__sanitizer::TEST 131 PTHREAD_CREATE(&threads[i], 0, lock_thread<BlockingMutex>, &data); 133 PTHREAD_JOIN(threads[i], 0);
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
tsan_mutex_test.cc | 99 pthread_t threads[kThreads]; local in function:__tsan::TEST 101 pthread_create(&threads[i], 0, write_mutex_thread<Mutex>, &data); 103 pthread_join(threads[i], 0); 109 pthread_t threads[kThreads]; local in function:__tsan::TEST 111 pthread_create(&threads[i], 0, read_mutex_thread<Mutex>, &data); 113 pthread_join(threads[i], 0); 119 pthread_t threads[kThreads]; local in function:__tsan::TEST 121 pthread_create(&threads[i], 0, write_mutex_thread<SpinMutex>, &data); 123 pthread_join(threads[i], 0);
|
tsan_mutex_test.cc | 99 pthread_t threads[kThreads]; local in function:__tsan::TEST 101 pthread_create(&threads[i], 0, write_mutex_thread<Mutex>, &data); 103 pthread_join(threads[i], 0); 109 pthread_t threads[kThreads]; local in function:__tsan::TEST 111 pthread_create(&threads[i], 0, read_mutex_thread<Mutex>, &data); 113 pthread_join(threads[i], 0); 119 pthread_t threads[kThreads]; local in function:__tsan::TEST 121 pthread_create(&threads[i], 0, write_mutex_thread<SpinMutex>, &data); 123 pthread_join(threads[i], 0);
|
/src/lib/libpthread/ |
call_once.c | 37 #include <threads.h>
|
call_once.c | 37 #include <threads.h>
|
tss.c | 38 #include <threads.h>
|
tss.c | 38 #include <threads.h>
|
/src/tests/usr.bin/c++/ |
t_call_once2.sh | 108 std::thread threads[nr_threads]; 111 threads[i] = std::thread(print_once); 114 threads[i].join(); 140 std::thread threads[nr_threads]; 143 threads[i] = std::thread(print_once); 146 threads[i].join(); 184 std::thread threads[nr_threads]; 187 threads[i] = std::thread(print_once); 190 threads[i].join(); 221 std::thread threads[nr_threads] [all...] |
t_call_once2.sh | 108 std::thread threads[nr_threads]; 111 threads[i] = std::thread(print_once); 114 threads[i].join(); 140 std::thread threads[nr_threads]; 143 threads[i] = std::thread(print_once); 146 threads[i].join(); 184 std::thread threads[nr_threads]; 187 threads[i] = std::thread(print_once); 190 threads[i].join(); 221 std::thread threads[nr_threads] [all...] |
/src/tests/lib/libc/stdlib/ |
t_getenv_thread.c | 144 atf_tc_set_md_var(tc, "descr", "Test getenv_r(3) with threads"); 150 pthread_t threads[THREADED_NUM_THREADS]; local in function:ATF_TC_BODY 158 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_getenv_r, 163 ATF_CHECK(pthread_join(threads[j], NULL) == 0); 175 pthread_t threads[THREADED_NUM_THREADS]; local in function:ATF_TC_BODY 183 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_putenv, 188 ATF_CHECK(pthread_join(threads[j], NULL) == 0); 200 pthread_t threads[THREADED_NUM_THREADS]; local in function:ATF_TC_BODY 208 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_setenv, 213 ATF_CHECK(pthread_join(threads[j], NULL) == 0) 225 pthread_t threads[THREADED_NUM_THREADS]; local in function:ATF_TC_BODY [all...] |
t_getenv_thread.c | 144 atf_tc_set_md_var(tc, "descr", "Test getenv_r(3) with threads"); 150 pthread_t threads[THREADED_NUM_THREADS]; local in function:ATF_TC_BODY 158 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_getenv_r, 163 ATF_CHECK(pthread_join(threads[j], NULL) == 0); 175 pthread_t threads[THREADED_NUM_THREADS]; local in function:ATF_TC_BODY 183 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_putenv, 188 ATF_CHECK(pthread_join(threads[j], NULL) == 0); 200 pthread_t threads[THREADED_NUM_THREADS]; local in function:ATF_TC_BODY 208 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_setenv, 213 ATF_CHECK(pthread_join(threads[j], NULL) == 0) 225 pthread_t threads[THREADED_NUM_THREADS]; local in function:ATF_TC_BODY [all...] |
/src/tools/xz-include/ |
Makefile | 11 CONFIGURE_ARGS+= --enable-threads=no --disable-nls
|
Makefile | 11 CONFIGURE_ARGS+= --enable-threads=no --disable-nls
|
/src/tests/usr.bin/gdb/ |
t_regress.sh | 30 atf_test_case threads 92 atf_add_test_case threads
|
t_regress.sh | 30 atf_test_case threads 92 atf_add_test_case threads
|
/src/tests/crypto/libcrypto/ |
t_libcrypto.sh | 65 atf_test_case threads 90 atf_add_test_case threads
|
t_libcrypto.sh | 65 atf_test_case threads 90 atf_add_test_case threads
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_stoptheworld_mac.cc | 58 thread_array_t threads; local in function:__sanitizer::RunThread 60 kern_return_t err = task_threads(mach_task_self(), &threads, &num_threads); 62 VReport(1, "Failed to get threads for task (errno %d).\n", err); 68 if (threads[i] == thread_self) continue; 70 thread_suspend(threads[i]); 71 suspended_threads_list.Append(threads[i]);
|
sanitizer_stoptheworld_mac.cc | 58 thread_array_t threads; local in function:__sanitizer::RunThread 60 kern_return_t err = task_threads(mach_task_self(), &threads, &num_threads); 62 VReport(1, "Failed to get threads for task (errno %d).\n", err); 68 if (threads[i] == thread_self) continue; 70 thread_suspend(threads[i]); 71 suspended_threads_list.Append(threads[i]);
|
/src/tests/lib/libpthread/ |
h_resolv.c | 146 pthread_t *threads; local in function:main 180 if ((threads = malloc(nthreads * sizeof(pthread_t))) == NULL) 186 threads[i] = run(&nleft[i]); 208 pthread_join(threads[i], NULL); 209 free(threads);
|
h_resolv.c | 146 pthread_t *threads; local in function:main 180 if ((threads = malloc(nthreads * sizeof(pthread_t))) == NULL) 186 threads[i] = run(&nleft[i]); 208 pthread_join(threads[i], NULL); 209 free(threads);
|
t_call_once.c | 37 #include <threads.h>
|