add thread/th.c