Update newthread.c