zephyr/kernel
Benjamin Walsh 3181df6db4 kernel: add per-thread errno support
Saves an errno per-thread, retrieved via _get_errno(), instead of
changing the value of a global variable during context switches to avoid
a hit to the context switch performance.

Per-arch asm implementations are provided for maximum performance.

Enabled by default, but can be disabled via the CONFIG_ERRNO option.

Change-Id: I81d57a2e318c94c68eee913ae0d4ca3a3609c7a4
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-02-05 20:24:58 -05:00
..
configs kconfig: use zephyr as the binary name globally 2016-02-05 20:24:22 -05:00
microkernel Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
nanokernel kernel: add per-thread errno support 2016-02-05 20:24:58 -05:00
Kconfig init: Implement fine-grained initialization policy 2016-02-05 20:24:54 -05:00
Makefile Kbuild: adapt Makefile/Kconfig to kernel/common/ removal 2016-02-05 20:14:06 -05:00