Added thread_t