copy ..\Common\include\QPeek.h DemoTasks\include\r
copy ..\Common\include\flop.h DemoTasks\include\r
copy ..\Common\include\recmutex.h DemoTasks\include\r
- copy ..\Common\include\death.h DemoTasks\include\r
copy ..\Common\Minimal\BlockQ.c DemoTasks\r
copy ..\Common\Minimal\integer.c DemoTasks\r
copy ..\Common\Minimal\semtest.c DemoTasks\r
copy ..\Common\Minimal\GenQTest.c DemoTasks\r
copy ..\Common\Minimal\QPeek.c DemoTasks\r
copy ..\Common\Minimal\flop.c DemoTasks\r
- copy ..\Common\Minimal\death.c DemoTasks\r
\r
: END
\ No newline at end of file
#define configUSE_IDLE_HOOK 1\r
#define configUSE_TICK_HOOK 0\r
#define configTICK_RATE_HZ ( 50 ) /* In this non-real time simulated environment the tick frequency has to be at least a multiple of the Win32 tick frequency, and therefore very slow. */\r
-#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 50 ) /* In this simulated case, the stack only has to hold one small structure as the real stack is part of the win32 thread. */\r
+#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 20 ) /* In this simulated case, the stack only has to hold one small structure as the real stack is part of the win32 thread. */\r
#define configTOTAL_HEAP_SIZE ( ( size_t ) 0 ) /* This parameter has no effect when heap_3.c is included in the project. */\r
#define configMAX_TASK_NAME_LEN ( 12 )\r
#define configUSE_TRACE_FACILITY 1\r
#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
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
{\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