cothread_thread
pthread_create(&cotd->pthr, &attr, (void *)cothread_thread, cotd);
static void cothread_thread(void *arg);