From: richardbarry Date: Mon, 22 Nov 2010 16:10:42 +0000 (+0000) Subject: Remove the 'death' tasks from the demo as on Win2K and WinXP the behaviour of the... X-Git-Tag: V6.1.1~94 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd72eca7f48268ad93f83067c859e04eec91018e;p=freertos Remove the 'death' tasks from the demo as on Win2K and WinXP the behaviour of the TerminateThread() function is such that resources leak and eventually the 'death' tests will fail. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1163 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/WIN32-MSVC/WIN32.suo b/Demo/WIN32-MSVC/WIN32.suo index a6a78775b..84fd5718c 100644 Binary files a/Demo/WIN32-MSVC/WIN32.suo and b/Demo/WIN32-MSVC/WIN32.suo differ diff --git a/Demo/WIN32-MSVC/WIN32.vcxproj b/Demo/WIN32-MSVC/WIN32.vcxproj index a92b9185f..ee994e1da 100644 --- a/Demo/WIN32-MSVC/WIN32.vcxproj +++ b/Demo/WIN32-MSVC/WIN32.vcxproj @@ -161,7 +161,7 @@ - + diff --git a/Demo/WIN32-MSVC/WIN32.vcxproj.filters b/Demo/WIN32-MSVC/WIN32.vcxproj.filters index 3d075c58a..1a088b2ed 100644 --- a/Demo/WIN32-MSVC/WIN32.vcxproj.filters +++ b/Demo/WIN32-MSVC/WIN32.vcxproj.filters @@ -1,10 +1,6 @@  - - {19ff1a34-36de-4c48-9d10-3fb1fa0d1fa4} - h;hpp;hxx;hm;inl - {38712199-cebf-4124-bf15-398f7c3419ea} ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe @@ -32,6 +28,10 @@ {143cf5a3-f134-4439-9f71-a201ae23b44b} + + {19ff1a34-36de-4c48-9d10-3fb1fa0d1fa4} + h;hpp;hxx;hm;inl + @@ -81,11 +81,8 @@ - - Header Files - - Header Files + Configuration Files FreeRTOS Source\Include @@ -111,5 +108,8 @@ FreeRTOS Source\Include + + FreeRTOS Source\Include + \ No newline at end of file diff --git a/Demo/WIN32-MSVC/main.c b/Demo/WIN32-MSVC/main.c index a14753696..e0c63e274 100644 --- a/Demo/WIN32-MSVC/main.c +++ b/Demo/WIN32-MSVC/main.c @@ -96,7 +96,6 @@ #include "QPeek.h" #include "recmutex.h" #include "flop.h" -#include "death.h" /* Priorities at which the tasks are created. */ #define mainCHECK_TASK_PRIORITY ( configMAX_PRIORITIES - 1 ) @@ -130,11 +129,6 @@ int main( void ) vStartMathTasks( mainFLOP_TASK_PRIORITY ); vStartRecursiveMutexTasks(); - /* The suicide tasks must be created last as they need to know how many - tasks were running prior to their creation in order to ascertain whether - or not the correct/expected number of tasks are running at any given time. */ - vCreateSuicidalTasks( mainCREATOR_TASK_PRIORITY ); - /* Start the scheduler itself. */ vTaskStartScheduler(); @@ -190,10 +184,6 @@ char *pcStatusMessage = "OK"; { pcStatusMessage = "Error: Flop"; } - else if( xIsCreateTaskStillRunning() != pdPASS ) - { - pcStatusMessage = "Error: Create"; - } else if( xAreRecursiveMutexTasksStillRunning() != pdTRUE ) { pcStatusMessage = "Error: RecMutex";