[an error occurred while processing this directive]
+++ Bugs corrected uCOS-II v2.62 ->
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено Sergey Pinigin 26 марта 2003 г. 15:47

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