commit | 8162e586e3fbcc0e4ec18de72e13f24efffd293b | [log] [tgz] |
---|---|---|
author | Peter Bigot <peter.bigot@nordicsemi.no> | Thu Dec 12 16:07:07 2019 -0600 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Dec 13 15:47:43 2019 -0500 |
tree | 34647844e202505af7f149abaa67c0660b87351e | |
parent | 218b45b74964616457968eed5462d2924d91fc11 [diff] |
kernel: sched: assert when k_sleep invoked from interrupt context Fix a gap where k_sleep(K_FOREVER) could execute a code path that would not verify that the call was not from interrupt context. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>