Home
last modified time | relevance | path

Searched refs:thread_count (Results 1 – 2 of 2) sorted by relevance

/sysdeps/pthread/
A Dtst-memstream.c35 thread_count = 2, enumerator
65 pthread_t threads[thread_count]; in do_test()
66 struct closure args[thread_count]; in do_test()
68 for (int i = 0; i < thread_count; ++i) in do_test()
75 for (int i = 0; i < thread_count; ++i) in do_test()
80 if (buffer_length != thread_count * byte_count) in do_test()
82 buffer_length, thread_count * byte_count); in do_test()
85 size_t counts[thread_count] = { 0, }; in do_test()
88 if (buffer[i] < 'A' || buffer[i] >= 'A' + thread_count) in do_test()
92 for (int i = 0; i < thread_count; ++i) in do_test()
A Dtst-mutex10.c30 static unsigned int thread_count = 3; variable
68 thread_count, iteration_count); in do_test()
70 pthread_t *threads = xmalloc (thread_count * sizeof (pthread_t)); in do_test()
71 xpthread_barrier_init (&barrier, NULL, thread_count); in do_test()
74 for (i = 0; i < thread_count; i++) in do_test()
77 for (i = 0; i < thread_count; i++) in do_test()
103 thread_count = arg; in cmdline_process()

Completed in 4 milliseconds