Home
last modified time | relevance | path

Searched refs:NTHREADS (Results 1 – 14 of 14) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/
D6-1.c78 #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()
D6-2.c77 #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/
DGtest-concurrent.c40 #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/
Dstress.c72 #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/
Dstress.c72 #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/
D1-3.c72 #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/
Dtest_locks.py60 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/
D1-2.c72 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/
D2-5.c57 #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/
D2-1.c73 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/
Dstress.c73 #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/
Dmainloop-test.c20 #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/
Dcfimport.py8 NTHREADS = 30 variable
28 for i in range(NTHREADS):
/third_party/boost/libs/thread/doc/
Dlatch.qbk50 for (int i = 0; i < NTHREADS; ++i) {