]> git.sur5r.net Git - freertos/commitdiff
Remove infinite loop from task delete function.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 16 Apr 2013 10:25:33 +0000 (10:25 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 16 Apr 2013 10:25:33 +0000 (10:25 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1855 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Source/tasks.c

index ef92565c20b077696ad3a35942360953139e8d26..e27a20a504f4e7e9623275cedff993f882d14da2 100644 (file)
@@ -709,14 +709,6 @@ tskTCB * pxNewTCB;
                        if( ( void * ) xTaskToDelete == NULL )\r
                        {\r
                                portYIELD_WITHIN_API();\r
-\r
-                               /* Ensure the task goes no further if it takes a few\r
-                               instructions for the yield to occur. */\r
-                               for( ;; )\r
-                               {\r
-                                       /* Nothing to do here, just ensuring the task does not\r
-                                       execute further before the yield has taken effect. */\r
-                               }\r
                        }\r
                }\r
        }\r