FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
Reda Maher 77ad717400
Posix: Fix no task switching issue if a task ended its main function (#184)
* Posix: Fix no task switching issue if a task ended

When the main function of a task exits, no task switching happened.
This is because all the remaining tasks are waiting on the condition
variable. The fix is to trigger a task switch and mark the exiting
task as "Dying" to be suspened and exited properly from the scheduler.

* Posix: Assert and stop if the Task function returned

* Posix: just assert if a task returned from its main function

Co-authored-by: alfred gedeon <alfred2g@hotmail.com>
2020-10-05 18:06:51 -07:00
..
utils Change the Linux Port to use condition variables instead of Signals (#156) 2020-09-07 09:56:28 -07:00
FreeRTOS-simulator-for-Linux.url Add url link for Linux Simulator documentation (#161) 2020-09-09 14:35:52 -07:00
port.c Posix: Fix no task switching issue if a task ended its main function (#184) 2020-10-05 18:06:51 -07:00
portmacro.h Update version number to 10.4.1 (#173) 2020-09-17 15:25:15 -07:00