Create thread.c