Rename switch_to_others() to yield() and use std::this_thread::yield().