thrd_join
int thrd_join(thrd_t, int *);
thrd_join(threads[t], &rc);
thrd_join(threads[1], &rc);
thrd_join(threads[0], &rc);