pub fn bump_session_generation() -> u64Expand description
Advance the session generation. Called at the start of reset_session()
so any task that captured the previous value before the swap can detect
it and short-circuit before writing to the new account’s state.