]> git.sur5r.net Git - freertos/blobdiff - Demo/WIN32-MSVC/main.c
Remove the 'death' tasks from the demo as on Win2K and WinXP the behaviour of the...
[freertos] / Demo / WIN32-MSVC / main.c
index a14753696394d9e8b6e44c4c89c95e8b84db902c..e0c63e2749ace5735ec2bc0c1ab5242194989912 100644 (file)
@@ -96,7 +96,6 @@
 #include "QPeek.h"\r
 #include "recmutex.h"\r
 #include "flop.h"\r
-#include "death.h"\r
 \r
 /* Priorities at which the tasks are created. */\r
 #define mainCHECK_TASK_PRIORITY                ( configMAX_PRIORITIES - 1 )\r
@@ -130,11 +129,6 @@ int main( void )
        vStartMathTasks( mainFLOP_TASK_PRIORITY );\r
        vStartRecursiveMutexTasks();\r
 \r
-       /* The suicide tasks must be created last as they need to know how many\r
-       tasks were running prior to their creation in order to ascertain whether\r
-       or not the correct/expected number of tasks are running at any given time. */\r
-       vCreateSuicidalTasks( mainCREATOR_TASK_PRIORITY );\r
-\r
        /* Start the scheduler itself. */\r
        vTaskStartScheduler();\r
 \r
@@ -190,10 +184,6 @@ char *pcStatusMessage = "OK";
                {\r
                        pcStatusMessage = "Error: Flop";\r
                }\r
-               else if( xIsCreateTaskStillRunning() != pdPASS )\r
-               {\r
-                       pcStatusMessage = "Error: Create";\r
-               }\r
            else if( xAreRecursiveMutexTasksStillRunning() != pdTRUE )\r
            {\r
                        pcStatusMessage = "Error: RecMutex";\r