check init_thread_copy in pthread