]> begriffs open source - freertos/commit
Fix SMP task self void run state change (#984)
authorchinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Tue, 6 Feb 2024 12:41:34 +0000 (20:41 +0800)
committerGitHub <noreply@github.com>
Tue, 6 Feb 2024 12:41:34 +0000 (20:41 +0800)
commit57a5ed7f675e828fe020c33e636e094fa1354ea8
treea9c516810099dbd8050b0627e7ad16da37099970
parent23afc48fc370da20d4526a059807be95ba38ef74
Fix SMP task self void run state change (#984)

* Request a task to yield after been suspended or deleted to prevent this task puts itself back to another list
* Fix volatile variable access order to ensure ensure compliance with MISRA C 2012 Rule 13.5

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
tasks.c