mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-26 01:46:26 +00:00
The main and idle threads, and their associated stacks, were being referenced in various parts of the kernel with no central definition. Expose these in kernel_internal.h and namespace with z_ appropriately. The main and idle threads were being defined statically, with another variable exposed to contain their pointer value. This wastes a bit of memory and isn't accessible to user threads anyway, just expose the actual thread objects. Redundance MAIN_STACK_SIZE and IDLE_STACK_SIZE defines in init.c removed, just use the Kconfigs they derive from. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
dynamic_thread | ||
no-multithreading | ||
thread_apis | ||
thread_init |