domaster
static void *domaster(void *arg);
pthread_create(&td1, NULL, domaster, (void *)(intptr_t)fd);