Home | History | Annotate | Download | only in src

Lines Matching refs:threads

14 #include "threads.h"
26 static thread_t threads[MAX_THREADS];
48 * Create a set of threads each of which is bound to one of
50 * Returns the number of threads created.
64 thread = &threads[num_threads++];
83 * Create nthreads threads.
84 * Returns the number of threads created.
95 thread = &threads[num_threads++];
113 * Join with the set of previsouly created threads.
118 pthread_join(threads[--num_threads].thread, NULL);