threads.cxx: Use init priority for thread_name and thread_name2.