Searched refs:NUMTHREADS (Results 1 – 3 of 3) sorted by relevance
43 #define NUMTHREADS 10 macro44 size_t thread_globals [ NUMTHREADS ] = { 0 };45 std::__libcpp_thread_t threads [ NUMTHREADS ];53 for ( int i = 0; i < NUMTHREADS; ++i ) in main()55 for ( int i = 0; i < NUMTHREADS; ++i ) in main()58 for ( int i = 0; i < NUMTHREADS; ++i ) in main()64 std::sort ( thread_globals, thread_globals + NUMTHREADS ); in main()65 for ( int i = 1; i < NUMTHREADS; ++i ) in main()
58 #define NUMTHREADS 2 macro60 void *retval[NUMTHREADS];78 pthread_t pt[NUMTHREADS]; in main()100 for (i = 0; i < NUMTHREADS; i++) { in main()
1258 static const int NUMTHREADS = 10; variable1267 while (gStartedThreads < NUMTHREADS) { in run()1279 while (gFinishedThreads < NUMTHREADS) { in run()1291 CondThread *threads[NUMTHREADS]; in TestConditionVariables()1292 for (i=0; i<NUMTHREADS; ++i) { in TestConditionVariables()1297 while (gStartedThreads < NUMTHREADS) { in TestConditionVariables()1301 while (gFinishedThreads < NUMTHREADS) { in TestConditionVariables()1307 for (i=0; i<NUMTHREADS; ++i) { in TestConditionVariables()1313 for (i=0; i<NUMTHREADS; ++i) { in TestConditionVariables()