add thread_t struct, get_tid test program