Home
last modified time | relevance | path

Searched refs:NCHILDREN (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D4-2.c55 #define NCHILDREN (20) macro
205 pid_t child_pr[NCHILDREN], chkpid; in main()
207 pthread_t child_th[NCHILDREN]; in main()
440 for (k = 0; k < NCHILDREN; k++) { in main()
467 for (k = 0; k < NCHILDREN; k++) { in main()
541 for (k = 0; k < NCHILDREN; k++) { in main()
573 for (k = 0; k < NCHILDREN; k++) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
Dstress2.c79 #define NCHILDREN (20) macro
184 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
331 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
347 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
362 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
396 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
Dstress.c79 #define NCHILDREN (20) macro
184 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
331 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
347 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
362 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
396 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
Dstress1.c104 #define NCHILDREN (5) macro
207 #define NTOT (NSCENAR * SCALABILITY_FACTOR * NCHILDREN)
578 for (j = 0; j < SCALABILITY_FACTOR * NCHILDREN; j++) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Dstress2.c79 #define NCHILDREN (20) macro
175 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
322 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
338 (ts.tv_nsec >> 10)) % (NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
353 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2); in cellmanager()
387 for (i = 0; i < NCHILDREN * SCALABILITY_FACTOR + 2; i++) { in cellmanager()
Dstress1.c103 #define NCHILDREN (5) macro
197 #define NTOT (NSCENAR * SCALABILITY_FACTOR * NCHILDREN)
584 for (j = 0; j < SCALABILITY_FACTOR * NCHILDREN; j++) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
Dstress.c88 #define NCHILDREN (20 * SCALABILITY_FACTOR) macro
209 pthread_t t_child[NCHILDREN]; in main()
328 for (ch = 0; ch < NCHILDREN; ch++) { in main()
380 for (ch = 0; ch < NCHILDREN; ch++) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
D2-3.c66 #define NCHILDREN (20) macro
156 } ch[NCHILDREN];
431 for (children.nb = 0; children.nb < NCHILDREN; children.nb++) { in main()
454 output("[parent] Created %i children\n", NCHILDREN); in main()
462 while (child_count < NCHILDREN) { in main()