Skip to content
Commit 3cb83d1b authored by Carlo Caione's avatar Carlo Caione Committed by Christopher Friedt
Browse files

kernel: Reset the switch_handler only in the arch code



Avoid setting the switch_handler in the z_get_next_switch_handle() code
when the context is not fully saved yet to avoid a race against other
cores waiting on wait_for_switch().

See issue #40795 and discussion in #41840

Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
parent e23cd666
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment