zephyr/subsys/mgmt
Andy Ross 7cdf40541b kernel/sched: Eliminate PRESTART thread state
Traditionally threads have been initialized with a PRESTART flag set,
which gets cleared when the thread runs for the first time via either
its timeout or the k_thread_start() API.

But if you think about it, this is no different, semantically, than
SUSPENDED: the thread is prevented from running until the flag is
cleared.

So unify the two.  Start threads in the SUSPENDED state, point
everyone looking at the PRESTART bit to the SUSPENDED flag, and make
k_thread_start() be a synonym for k_thread_resume().

There is some mild code size savings from the eliminated duplication,
but the real win here is that we make space in the thread flags byte,
which had run out.

Signed-off-by: Andy Ross <andyross@google.com>
2024-11-27 10:38:05 -05:00
..
ec_host_cmd it8xxx2/shi: wrap pm policy state get/put 2024-11-25 10:07:20 +01:00
hawkbit mgmt: hawkbit: don't require HWINFO 2024-11-22 13:02:29 -06:00
mcumgr kernel/sched: Eliminate PRESTART thread state 2024-11-27 10:38:05 -05:00
osdp kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
updatehub mgmt: updatehub: replace TinyCrypt by PSA 2024-06-14 14:02:08 -04:00
CMakeLists.txt
Kconfig