Files
zephyr/kernel
Jennifer Williams 4d33007486 kernel: stack: fix stack_push spinlock and return
The z_impl_k_stack_push() has a spinlock that is set after
stack member access, which could cause race conditions and
used multiple return statements. This commit
- moves the lock before the CHECKIF
- implements goto for flow of lock, reschedule, and unlock
- uses ret for single return at the end

Signed-off-by: Jennifer Williams <jennifer.m.williams@intel.com>
2020-10-07 17:10:36 -04:00
..
2020-09-03 14:24:38 -04:00
2020-09-23 13:21:07 -05:00
2020-07-25 21:26:15 -04:00