change current_thread fome a thread into its id