Create creatthread.c