Update thread2.c