signal_thread
static void *signal_thread(void *);
if (pthread_create(&tid, NULL, signal_thread, NULL)) {