On Wed, Sep 8, 2021 at 10:23 AM Katsuhiro Suzuki
I have question about newer version of context switching (CONFIG_USE_SWITCH=y).Does RISC-V support USE_SWITCH?
Newer switching sets NEW thread handle into _current_cpu.current BEFORE calling arch_switch().AFAICS, even with v1.11, we are setting `_current` to `new_thread` in
`_Swap()` before calling `_arch_switch()`.
What version are you referring to as "older"?
Why do you `use _current_cpu` at all? `_arch_switch()` or
`arch_switch()` on the main branch takes
both new and old thread handles.