/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/ |
D | 6-1.c | 78 #define NTHREADS 5 macro 112 pthread_t ch[NTHREADS]; in main() 138 for (i = 0; i < NTHREADS; i++) { in main() 161 for (; n_awaken < NTHREADS; sched_yield()) { in main() 170 for (i = 0; i < NTHREADS; i++) { in main()
|
D | 6-2.c | 77 #define NTHREADS 5 macro 114 pthread_t ch[NTHREADS]; in main() 140 for (i = 0; i < NTHREADS; i++) { in main() 167 for (i = 1; i < NTHREADS; i++) { in main() 176 for (i = 0; i < NTHREADS; i++) { in main()
|
/third_party/libunwind/tests/ |
D | Gtest-concurrent.c | 40 #define NTHREADS 128 macro 86 pthread_t th[NTHREADS]; in doit() 93 for (i = 0; i < NTHREADS; ++i) in doit() 98 NTHREADS, i); in doit() 102 for (i = 0; i < NTHREADS; ++i) in doit()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_once/ |
D | stress.c | 72 #define NTHREADS 30 macro 145 pthread_t th[NTHREADS]; in main() 151 ret = pthread_barrier_init(&bar, NULL, NTHREADS); in main() 183 for (i = 0; i < NTHREADS; i++) { in main() 192 for (i = 0; i < NTHREADS; i++) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cancel/ |
D | stress.c | 72 #define NTHREADS 30 macro 166 pthread_t th[NTHREADS]; in main() 167 pthread_barrier_t b[NTHREADS]; in main() 191 for (i = 0; i < NTHREADS; i++) { in main() 205 for (i = 0; i < NTHREADS; i++) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/ |
D | 1-3.c | 72 #define NTHREADS 30 macro 122 pthread_t th[NTHREADS]; in main() 131 for (i = 0; i < NTHREADS; i++) { in main() 140 for (i = 0; i < NTHREADS; i++) { in main()
|
/third_party/python/Lib/test/test_importlib/ |
D | test_locks.py | 60 NTHREADS = NLOCKS 62 NTHREADS = NLOCKS - 1 63 barrier = threading.Barrier(NTHREADS) 86 lock_tests.Bunch(f, NTHREADS).wait_for_finished() 87 self.assertEqual(len(results), NTHREADS)
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
D | 1-2.c | 72 for (_nch=0; _nch<NTHREADS; _nch++) \ 81 for (_nch=0; _nch<NTHREADS; _nch++) \ 93 #define NTHREADS (20) macro 293 pid_t p_child[NTHREADS]; in main() 294 pthread_t t_child[NTHREADS]; in main() 489 for (ch = 0; ch < NTHREADS; ch++) { in main() 525 while (ch < NTHREADS) { in main() 574 for (ch = (NTHREADS - 1); ch >= 0; ch--) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 2-5.c | 57 #define NTHREADS (100) macro 170 pthread_t th[NTHREADS]; in main() 302 for (j = 0; j < NTHREADS; j++) { in main() 320 } while (loc_started < NTHREADS); in main() 337 } while (loc_stopped < NTHREADS); in main() 340 for (j = 0; j < NTHREADS; j++) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/ |
D | 2-1.c | 73 for (_nch=0; _nch<NTHREADS; _nch++) \ 82 for (_nch=0; _nch<NTHREADS; _nch++) \ 94 #define NTHREADS (5) macro 335 pid_t p_child[NTHREADS]; in main() 336 pthread_t t_child[NTHREADS]; in main() 534 for (ch = 0; ch < NTHREADS; ch++) { in main() 570 while (ch < NTHREADS) { in main() 671 while (ch < NTHREADS) { in main() 728 for (ch = (NTHREADS - 1); ch >= 0; ch--) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/ |
D | stress.c | 73 #define NTHREADS 30 macro 159 pthread_t th[NTHREADS]; in main() 264 for (i = 0; i < NTHREADS; i++) { in main() 273 for (i = 0; i < NTHREADS; i++) { in main()
|
/third_party/glib/tests/ |
D | mainloop-test.c | 20 #define NTHREADS 4 macro 151 if (context_array->len == NTHREADS) in adder_thread() 407 GThread *threads[NTHREADS]; in main() 415 for (i = 0; i < NTHREADS; i++) in main() 422 while (context_array->len < NTHREADS) in main() 435 for (i = 0; i < NTHREADS; i++) in main()
|
/third_party/python/Lib/test/test_importlib/partial/ |
D | cfimport.py | 8 NTHREADS = 30 variable 28 for i in range(NTHREADS):
|
/third_party/boost/libs/thread/doc/ |
D | latch.qbk | 50 for (int i = 0; i < NTHREADS; ++i) {
|