1 #include "pthread_impl.h"
4 static void dummy(void *p)
8 int pthread_join(pthread_t t, void **res)
11 while ((tmp = t->tid)) __timedwait(&t->tid, tmp, 0, 0, dummy, 0, 0);
12 if (res) *res = t->result;
13 if (t->map_base) munmap(t->map_base, t->map_size);