commit | e1db1cec64dbb5dd9a5dc86f59258f1623ac798a | [log] [tgz] |
---|---|---|
author | Peter Mitsis <peter.mitsis@intel.com> | Mon Aug 14 14:06:52 2023 -0400 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Nov 06 18:59:35 2023 -0500 |
tree | d9d4d939d915e2880dd13287f8c250cf4f0e65b1 | |
parent | 52ae56b8a9e0d4b28e7046e3a5923f03801d983e [diff] |
kernel: Rename end_thread() to halt_thread() The routine halt_thread() acts nearly identical to end_thread() except that instead of only halting the thread if the _THREAD_DEAD state bit is not set, it will halt it if bit specified by the parameter new_state is not set (which is always _THREAD_DEAD). Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>