fomat thread.c