renamed debug_thread_find -> hthread_find