* annotate.c (annotate_thread_changed): New function.