Searched refs:NUMTHREADS (Results 1 – 4 of 4) sorted by relevance
40 #define NUMTHREADS 10 macro41 size_t thread_globals [ NUMTHREADS ] = { 0 };42 std::__libcpp_thread_t threads [ NUMTHREADS ];50 for ( int i = 0; i < NUMTHREADS; ++i ) in main()52 for ( int i = 0; i < NUMTHREADS; ++i ) in main()55 for ( int i = 0; i < NUMTHREADS; ++i ) in main()61 std::sort ( thread_globals, thread_globals + NUMTHREADS ); in main()62 for ( int i = 1; i < NUMTHREADS; ++i ) in main()
84 #define NUMTHREADS 7 macro88 int tid[NUMTHREADS]; in sched()89 int names[NUMTHREADS]; in sched()95 for (i = 0; i < NUMTHREADS; i++) { in sched()109 for (i = 0; i < NUMTHREADS; i++) { in sched()114 printf ("schedtest: Started %d threads\n", NUMTHREADS); in sched()120 for (i = 0; i < NUMTHREADS; i++) { in sched()
58 #define NUMTHREADS 2 macro60 void *retval[NUMTHREADS];78 pthread_t pt[NUMTHREADS]; in main()100 for (i = 0; i < NUMTHREADS; i++) { in main()
1208 static const int NUMTHREADS = 10; variable1217 while (gStartedThreads < NUMTHREADS) { in run()1229 while (gFinishedThreads < NUMTHREADS) { in run()1241 CondThread *threads[NUMTHREADS]; in TestConditionVariables()1242 for (i=0; i<NUMTHREADS; ++i) { in TestConditionVariables()1247 while (gStartedThreads < NUMTHREADS) { in TestConditionVariables()1251 while (gFinishedThreads < NUMTHREADS) { in TestConditionVariables()1257 for (i=0; i<NUMTHREADS; ++i) { in TestConditionVariables()1263 for (i=0; i<NUMTHREADS; ++i) { in TestConditionVariables()