zephyr/arch/posix
Alberto Escolar Piedras 6d3476117b posix: Add cpu_hold() function to better emulate code delay
In native_posix and nrf52_bsim add the cpu_hold() function,
which can be used to emulate the time it takes for code
to execute.
It is very similar to arch_busy_wait(), but while
arch_busy_wait() returns when the requested time has passed,
cpu_hold() ensures that the time passes in the callers
context independently of how much time may pass in some
other context.

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2020-12-14 12:32:11 +01:00
..
core posix: Add cpu_hold() function to better emulate code delay 2020-12-14 12:32:11 +01:00
include kernel: update arch_switch_to_main_thread() 2020-07-30 21:11:14 -04:00
CMakeLists.txt toolchain: improved toolchain abstraction for compilers and linker 2020-09-04 20:36:59 +02:00
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Linux.aarch64.cmake posix arch: build on aarch64 / allow host-specific cmake includes 2020-05-09 12:17:24 +02:00