Update prethread.c