zephyr/boards/posix/native_posix
Alberto Escolar Piedras de168b9bc2 native_posix: timer: Ignore nanosleep return
Explicitly ignore the nanosleep() return value.
nanosleep() is called to slow down native_posix in real time
mode.
There is no real reason to handle this call returning too early:
The call may return earlier if a signal was sent to the process
(e.g. the user pressed Ctrl+C), or in case of errors.
In case of SIGKILL, SIGTERM, what we do is what we should do
(not wait, but terminate the program as requested by the user ASAP)
In case of another signal, we will wait the appropriate
amount of time in the next systick (so we won't accumulate any
error over time)
So there is no real need to add extra code here to handle
those cases.

Solves coverity CID 211046

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2020-06-24 08:57:10 -04:00
..
doc doc: native_posix: Add section about 32 and 64 bits 2020-05-04 15:57:33 +02:00
CMakeLists.txt headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
Kconfig arch: posix: Kconfig: select HAS_DTS as the arch level 2020-04-04 16:01:11 +02:00
Kconfig.board
Kconfig.defconfig drivers: kscan: Introduce SDL mouse driver 2020-03-11 13:23:19 -05:00
board.cmake
board_irq.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
board_soc.h
cmdline.c headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
cmdline.h
cmdline_common.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
cmdline_common.h global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
hw_models_top.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hw_models_top.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
irq_ctrl.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
irq_ctrl.h
irq_handler.c kernel: remove legacy fields in _kernel 2020-05-08 17:42:49 +02:00
irq_handler.h
main.c
native_posix.dts drivers/flash: Add support for flash_get_parameters to drivers 2020-06-22 14:35:03 +02:00
native_posix.yaml boards: native_posix: list eeprom as supported 2020-03-30 08:24:06 -05:00
native_posix_64.dts
native_posix_64.yaml boards: native_posix: list eeprom as supported 2020-03-30 08:24:06 -05:00
native_posix_64_defconfig kconfig: Remove assignments to CONFIG_<arch> syms and hide them 2020-02-08 00:50:08 -06:00
native_posix_defconfig kconfig: Remove assignments to CONFIG_<arch> syms and hide them 2020-02-08 00:50:08 -06:00
native_rtc.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
native_rtc.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
native_tracing.h
sdl_events.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sdl_events.h global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
timer_model.c native_posix: timer: Ignore nanosleep return 2020-06-24 08:57:10 -04:00
timer_model.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tracing.c