commit | 8e16012ab77daa03c252bbe7f1980a5f1e8cc1a0 | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Thu Feb 18 17:38:07 2021 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Feb 24 16:39:15 2021 -0500 |
tree | d187b5a62eab342f2de6bbc3c6001257e5cc4399 | |
parent | 647873549334e94b8a8e13f62b9631adf04c45cf [diff] |
kernel/thread: Initialize pended_on field of struct thread_base This got missed, leaving garbage there for restarted threads to trip on. Actually I see multiple uninitialized fields, which seems odd. This code deserves some rework, thread initialization isn't a performance path and we should probably be zeroing the struct out. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>