commit | a30cf39975b049d4630b86c986e2974d67da1d1b | [log] [tgz] |
---|---|---|
author | Peter Mitsis <peter.mitsis@intel.com> | Mon Apr 11 19:54:23 2022 -0400 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Apr 20 20:20:13 2022 -0400 |
tree | 06270cea91204688f9ba93dc15e05212285f9aa9 | |
parent | fef6e46f011aa8829e39b79c1861dfad3a19020d [diff] |
kernel: update k_thread_state_str() API When threads are in more than one state at a time, k_thread_state_str() returns a string that lists each of its states delimited by a '+'. This in turn necessitates a change to the API that includes both a pointer to the buffer to use for the string and the size of the buffer. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>