[an error occurred while processing this directive]
|
In OSTaskDel(), we added a statement to clear the stack pointer of the task being deleted. This statement appears on line 428 and should be REMOVED. The code was added originally to show that the stack of a task that has been deleted is no longer valid. This was to support Kernel Awareness but was found to cause side effects. The line to delete is:
ptcb->OSTCBStkPtr = (OS_STK *)0; /* Show that TCB is 'unused' */
E-mail: info@telesys.ru