[runtime] Use a separate lock for the joinable_threads () hash table.