debut thread.c