add thread_server.c