#if 0 #include #include thrd_t thrd_current(void) { SIGNAL_SAFE(0); return pthread_self(); } CHECK_0(thrd_t, 0, thrd_current) /* STDC(201112) */ #endif