Searched refs:NUM_THREADS (Results 1 – 3 of 3) sorted by relevance
65 #define NUM_THREADS 16 macro71 thrd_t wait_thread[NUM_THREADS]; in test_completions()73 for (int idx = 0; idx < NUM_THREADS; idx++) { in test_completions()82 for (int idx = 0; idx < NUM_THREADS; idx++) { in test_completions()127 thrd_t wait_thread[NUM_THREADS]; in test_signal_requeue()128 for (int idx = 0; idx < NUM_THREADS; idx++) { in test_signal_requeue()134 while (__atomic_load_n(&cc.started, __ATOMIC_SEQ_CST) != NUM_THREADS) { in test_signal_requeue()139 while (!all_blocked_on_futex(wait_thread, NUM_THREADS)) { in test_signal_requeue()147 ASSERT_TRUE(all_blocked_on_futex(wait_thread, NUM_THREADS)); in test_signal_requeue()157 for (int idx = 0; idx < NUM_THREADS; idx++) { in test_signal_requeue()[all …]
50 #define NUM_THREADS 16 macro55 thrd_t wait_thread[NUM_THREADS]; in test_completions()57 for (int idx = 0; idx < NUM_THREADS; idx++) in test_completions()61 for (int idx = 0; idx < NUM_THREADS; idx++) in test_completions()
12 #define NUM_THREADS 1000 macro34 thrd_t thread[NUM_THREADS]; in main()37 for (int i = 0; i != NUM_THREADS; ++i) { in main()41 for (int i = 0; i != NUM_THREADS; ++i) { in main()47 NUM_THREADS, in main()
Completed in 5 milliseconds