zephyr/arch
Andy Ross b89e427bd6 kernel/sched: Rename/redocument wait_for_switch() -> z_sched_switch_spin()
This trick turns out also to be needed by the abort/join code.
Promote it to a more formal-looking internal API and clean up the
documentation to (hopefully) clarify the exact behavior and better
explain the need.

This is one of the more... enchanted bits of the scheduler, and while
the trick is IMHO pretty clean, it remains a big SMP footgun.

Signed-off-by: Andy Ross <andyross@google.com>
2023-05-26 17:09:35 -04:00
..
arc kernel/sched: Rename/redocument wait_for_switch() -> z_sched_switch_spin() 2023-05-26 17:09:35 -04:00
arm barriers: Move __ISB() to the new API 2023-05-24 13:13:57 -04:00
arm64 kernel/sched: Rename/redocument wait_for_switch() -> z_sched_switch_spin() 2023-05-26 17:09:35 -04:00
common revert: "linker: rom_start_offset: add to address" 2023-03-30 18:19:32 -04:00
mips include: types: remove ulong_t 2022-09-06 18:16:33 +02:00
nios2 arch: nios2: Remove unused absolute symbols 2023-04-18 10:51:28 -04:00
posix arch posix: posix_cheats.h main() type changed in comment 2023-04-14 09:55:48 +02:00
riscv arch: riscv: Fix bogus condition 2023-05-26 10:36:15 -04:00
sparc arch: sparc: Remove unused absolute symbols 2023-04-18 10:51:28 -04:00
x86 arch: x86: ia32: don't create FP context for NULL thread 2023-05-24 12:41:06 -04:00
xtensa arch: xtensa: Enable builds without the multithreading 2023-05-25 16:15:54 +02:00
CMakeLists.txt
Kconfig barriers: Enable builtin barriers for RISCV 2023-05-25 06:29:03 -04:00