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-10-01 17:13:29 -04:00
2020-04-14 10:05:55 -07:00
2020-08-04 17:26:45 -04:00
2020-09-23 15:50:32 -05:00
2019-10-04 05:22:30 -07:00
2020-09-15 18:22:38 +02:00
2019-11-06 16:07:32 -08:00
2020-08-24 20:28:24 -04:00
2020-03-31 19:40:47 -04:00
2020-09-30 14:11:59 -04:00
2020-09-30 14:11:59 -04:00
2020-09-30 14:11:59 -04:00
2020-09-02 13:48:13 +02:00
2020-09-02 13:48:13 +02:00
2020-09-02 13:48:13 +02:00
2020-09-02 13:48:13 +02:00
2020-09-02 13:48:13 +02:00
2020-04-14 10:05:55 -07:00
2020-09-03 14:24:38 -04:00
2020-09-23 13:21:07 -05:00
2020-09-02 13:48:13 +02:00
2020-09-02 13:48:13 +02:00
2020-10-01 17:13:29 -04:00
2020-09-02 13:48:13 +02:00
2020-09-30 14:11:59 -04:00
2020-09-02 13:48:13 +02:00
2020-07-25 21:26:15 -04:00
2020-10-07 17:10:36 -04:00
2020-09-02 13:48:13 +02:00
2020-09-30 14:11:59 -04:00
2020-10-01 17:13:29 -04:00
2020-10-02 11:29:14 +02:00
2020-10-02 11:29:14 +02:00
2020-09-02 13:48:13 +02:00
2020-09-02 13:48:13 +02:00
2020-06-08 08:23:57 -05:00
2020-08-04 17:32:56 +02:00