]> git.sur5r.net Git - freertos/commitdiff
Change to xTaskResumeFromISR() function only. This function is untested.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 3 Jul 2006 19:39:42 +0000 (19:39 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 3 Jul 2006 19:39:42 +0000 (19:39 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@19 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/tasks.c

index 416342363f2a491e85973e95741427f97069e412..7f60f8deae8ec557f8b9cedfaf5394d4cf41c108 100644 (file)
@@ -971,11 +971,16 @@ static unsigned portBASE_TYPE uxTaskNumber = 0; /*lint !e956 Static is deliberat
                        else\r
                        {\r
                                /* We cannot access the delayed or ready lists, so will hold this\r
-                               task pending until the scheduler is resumed. */\r
+                               task pending until the scheduler is resumed, at which point a \r
+                               yield will be preformed if necessary. */\r
                                xYieldRequired = pdFALSE;\r
                                vListInsertEnd( ( xList * ) &( xPendingReadyList ), &( pxTaskToResume->xEventListItem ) );\r
                        }\r
                }\r
+               else\r
+               {\r
+                       xYieldRequired = pdFALSE;\r
+               }\r
 \r
                return xYieldRequired;\r
        }\r