Lines Matching full:threads
10 #include "src/threads/cnd_broadcast.h"
11 #include "src/threads/cnd_destroy.h"
12 #include "src/threads/cnd_init.h"
13 #include "src/threads/cnd_signal.h"
14 #include "src/threads/cnd_wait.h"
15 #include "src/threads/mtx_destroy.h"
16 #include "src/threads/mtx_init.h"
17 #include "src/threads/mtx_lock.h"
18 #include "src/threads/mtx_unlock.h"
19 #include "src/threads/thrd_create.h"
20 #include "src/threads/thrd_join.h"
24 #include <threads.h>
29 // main thread spawns THRD_COUNT threads, each of which wait on a condition
30 // variable |broadcast_cnd|. After spawing the threads, it waits on another
34 // threads to wake up. Each of the THRD_COUNT child threads increment
66 thrd_t threads[THRD_COUNT]; in wait_notify_broadcast_test() local
68 LIBC_NAMESPACE::thrd_create(&threads[i], broadcast_thread_func, nullptr); in wait_notify_broadcast_test()
80 LIBC_NAMESPACE::thrd_join(threads[i], &retval); in wait_notify_broadcast_test()
96 // In this namespace we set up test with two threads, one the main thread