96ccc46e03
Similar to the suspend refactoring earlier, this really nees to be done in an atomic block. There were two confirmable races here, though it's not completely clear either was being hit in practice: 1. The bit operations in z_mark_thread_as_started() aren't atomic so it needs to be protected. 2. The intermediate state in z_ready_thread() could result in a dead or suspended thread being added to the ready queue if another context tried a simultaneous abort or suspend. Signed-off-by: Andy Ross <andrew.j.ross@intel.com> |
||
---|---|---|
.. | ||
gen_offset.h | ||
kernel_arch_interface.h | ||
kernel_internal.h | ||
kernel_offsets.h | ||
ksched.h | ||
kswap.h | ||
offsets_short.h |