)]}' { "commit": "77ad7174005e59321765b1a9ace3f20b5ab029f1", "tree": "f508aaa6fbe31fe8bce2c302d8f8bf55b4223923", "parents": [ "fccb97b10b79bce9cdd22a7d6902dd9ece0402ee" ], "author": { "name": "Reda Maher", "email": "52288047+RedaMaher@users.noreply.github.com", "time": "Tue Oct 06 03:06:51 2020 +0200" }, "committer": { "name": "GitHub", "email": "noreply@github.com", "time": "Mon Oct 05 18:06:51 2020 -0700" }, "message": "Posix: Fix no task switching issue if a task ended its main function (#184)\n\n* Posix: Fix no task switching issue if a task ended\r\n\r\nWhen the main function of a task exits, no task switching happened.\r\nThis is because all the remaining tasks are waiting on the condition\r\nvariable. The fix is to trigger a task switch and mark the exiting\r\ntask as \"Dying\" to be suspened and exited properly from the scheduler.\r\n\r\n* Posix: Assert and stop if the Task function returned\r\n\r\n* Posix: just assert if a task returned from its main function\r\n\r\nCo-authored-by: alfred gedeon \u003calfred2g@hotmail.com\u003e", "tree_diff": [ { "type": "modify", "old_id": "7d7b5d8877a3a777854ac5acd366aa8f50bf719d", "old_mode": 33188, "old_path": "portable/ThirdParty/GCC/Posix/port.c", "new_id": "7107a56f88c299a1bfa3ca89139c8b849aa7b9b8", "new_mode": 33188, "new_path": "portable/ThirdParty/GCC/Posix/port.c" } ] }