Update thread.c

modify source code style-->space addition