Searched refs:s_counter (Results 1 – 8 of 8) sorted by relevance
17 static int s_counter; variable28 s_counter++; in thread_func()51 if (s_counter == n_threads * s_iterations) in main()55 s_counter, n_threads * s_iterations); in main()
24 static unsigned int s_counter; variable66 sum += s_counter; in thread_func()70 s_counter++; in thread_func()89 assert(s_counter == THREADS * ITERATIONS); in main()
24 static int s_counter; /* protected by s_rwlock. */ variable35 sum1 += s_counter; in thread_func()40 sum2 += s_counter++; in thread_func()108 s_counter - expected_counter); in main()
17 static int s_counter; variable34 while (s_counter != thread_num) in thread_func()38 s_counter++; in thread_func()
35 static int s_counter; variable131 sum += s_counter; in thread_func()134 s_counter++; in thread_func()
2 s_counter - expected_counter = 0
45 static int s_counter; variable145 sum += s_counter; in thread_func()148 s_counter++; in thread_func()