thrd_t
thrd_join(thrd_t thr, int *res)
thrd_create(thrd_t *thr, thrd_start_t func, void *arg)
thrd_t
thrd_detach(thrd_t thr)
thrd_equal(thrd_t thr0, thrd_t thr1)
int thrd_create(thrd_t *, thrd_start_t, void *);
thrd_t thrd_current(void);
int thrd_detach(thrd_t);
int thrd_equal(thrd_t, thrd_t);
int thrd_join(thrd_t, int *);
thrd_t threads[NUM_THREADS];