Searched refs:NUM_THREADS (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/tools/test/pthread_vfork/
H A Dpthread_vfork_test.c42 #define NUM_THREADS 100 macro
77 pthread_t threads[NUM_THREADS];
92 for (t = 0; t < NUM_THREADS; t++) {
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_thread.c93 #define NUM_THREADS 100 macro
133 if (count >= NUM_THREADS * NUM_ITERATIONS)
169 THREAD_T threads[NUM_THREADS];
228 for (i = 0; i < NUM_THREADS; ++i)
238 for (i = 0; i < NUM_THREADS; ++i)
243 tt_int_op(count, ==, NUM_THREADS * NUM_ITERATIONS);
257 #undef NUM_THREADS macro
258 #define NUM_THREADS 10 macro
293 struct alerted_record alerted[NUM_THREADS];
294 THREAD_T threads[NUM_THREADS];
[all...]
/freebsd-9.3-release/lib/libkse/test/
H A Dmutex_d.c57 #ifndef NUM_THREADS
58 #define NUM_THREADS 10 macro
162 static thread_state_t states[NUM_THREADS];
927 for (i = 0; i < NUM_THREADS; i++) {
945 for (i = 0; i < NUM_THREADS; i = i + 1) {
966 if (states[NUM_THREADS - 1].status != STAT_WAITMUTEX)
976 for (i = 0; i < NUM_THREADS; i = i + 1) {
1305 for (i = 0; i < NUM_THREADS; i++)
1346 for (i = 0; i < NUM_THREADS; i++)
1492 for (i = 0; i < NUM_THREADS;
[all...]

Completed in 66 milliseconds