fn thread_indices() -> &'static Mutex<ThreadIndices>