typedef int (*thrd_start_t)(void *);