01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Top of list<br />

Index page<br />

Interrupt 0xAD service 0x02: RTX_TASK_KILL, Stop and kill specified task.<br />

Parameters<br />

AH<br />

BX<br />

Terminate a specified task, but do not remove it from system.<br />

0x02 (= RTX_TASK_KILL)<br />

taskID<br />

Return Value<br />

Comments<br />

DX =0 success AX: 0, task is terminated<br />

DX!=0 failure AX: contains error code<br />

You should not kill a task which is waiting for a semaphore, an event in an event group, or a message<br />

from a message exchange. Failure to observe this restriction can lead to unpredictable results.<br />

This function does not remove the task from the system. The task can be restarted by calling<br />

RTX_RESTART_TASK API function.<br />

Related Topics<br />

Top of list<br />

Index page<br />

<strong>RTOS</strong> Task Control Services<br />

RTX_TASK_DELETE Remove task from system<br />

RTX_END_EXEC Task terminates itself<br />

Interrupt 0xAD service 0x03: RTX_TASK_DELETE, Remove a task from the system<br />

Parameters<br />

AH<br />

BX<br />

Remove specified task from system.<br />

0x03 (= RTX_TASK_DELETE)<br />

taskID<br />

Page 187 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!