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

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_timedwait/
H A D4-2.c90 #define NCHILDREN (20) macro
208 pid_t child_pr[NCHILDREN], chkpid;
210 pthread_t child_th[NCHILDREN];
406 for (k=0; k<NCHILDREN; k++)
434 for (k=0; k<NCHILDREN; k++)
490 for (k=0; k< NCHILDREN; k++)
521 for (k=0; k<NCHILDREN; k++)
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cond_timedwait/
H A Dstress2.c88 #define NCHILDREN (20) macro
158 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
290 for (i=0; i< NCHILDREN * SCALABILITY_FACTOR + 2; i++)
299 randval = (ts.tv_sec + (ts.tv_nsec >> 10) ) % (NCHILDREN * SCALABILITY_FACTOR + 2);
311 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2);
340 for (i=0; i< NCHILDREN * SCALABILITY_FACTOR + 2; i++)
H A Dstress1.c113 #define NCHILDREN (5) macro
178 #define NTOT (NSCENAR * SCALABILITY_FACTOR * NCHILDREN)
523 for (j=0; j < SCALABILITY_FACTOR * NCHILDREN; j++)
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cond_wait/
H A Dstress.c88 #define NCHILDREN (20) macro
158 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
290 for (i=0; i< NCHILDREN * SCALABILITY_FACTOR + 2; i++)
299 randval = (ts.tv_sec + (ts.tv_nsec >> 10) ) % (NCHILDREN * SCALABILITY_FACTOR + 2);
311 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2);
340 for (i=0; i< NCHILDREN * SCALABILITY_FACTOR + 2; i++)
H A Dstress2.c88 #define NCHILDREN (20) macro
158 pthread_t workers[NCHILDREN * SCALABILITY_FACTOR + 2];
290 for (i=0; i< NCHILDREN * SCALABILITY_FACTOR + 2; i++)
299 randval = (ts.tv_sec + (ts.tv_nsec >> 10) ) % (NCHILDREN * SCALABILITY_FACTOR + 2);
311 } while (i < NCHILDREN * SCALABILITY_FACTOR + 2);
340 for (i=0; i< NCHILDREN * SCALABILITY_FACTOR + 2; i++)
H A Dstress1.c114 #define NCHILDREN (5) macro
179 #define NTOT (NSCENAR * SCALABILITY_FACTOR * NCHILDREN)
513 for (j=0; j < SCALABILITY_FACTOR * NCHILDREN; j++)
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_mutex_trylock/
H A Dstress.c95 #define NCHILDREN (20 * SCALABILITY_FACTOR) macro
210 pthread_t t_child[NCHILDREN];
300 for (ch=0; ch < NCHILDREN; ch++)
341 for (ch=0; ch < NCHILDREN; ch++)
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/
H A D2-3.c101 #define NCHILDREN (20) macro
187 } ch[NCHILDREN];
455 for (children.nb=0; children.nb<NCHILDREN; children.nb++)
478 output("[parent] Created %i children\n", NCHILDREN);
485 while (child_count < NCHILDREN)

Completed in 117 milliseconds