Make s_have_fake_cpu_thread a class member instead. In addition to getting rid of a bit of static state, this simplifies refactoring in an upcoming commit.
std::copy
std::copy_n
std::find_if
std::ranges::find