Lines Matching defs:threads
17 * Validate various C11 threads routines. Specifically we want to cover:
19 * o threads
24 #include <threads.h>
124 thrd_t threads[STRESS_NTHREADS];
128 VERIFY3S(thrd_create(&threads[i], cthr_test_stress_thr,
133 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success);
238 thrd_t threads[BROADCAST_NTHREADS];
243 VERIFY3S(thrd_create(&threads[i], cthr_test_broadcast_thr,
253 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success);
278 thrd_t threads[SIGNAL_NTHREADS];
283 VERIFY3S(thrd_create(&threads[i], cthr_test_signal_thr, NULL),
293 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success);