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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Return Value<br />

Comments<br />

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

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

You should not delete 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 />

After making this call, the taskID is no longer valid. A task can delete itself.<br />

Related Topics<br />

Top of list<br />

Index page<br />

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

RTX_TASK_KILL Terminate task execution<br />

Interrupt 0xAD service 0x04: RTX_GET_TASKID, Get ID of the current task<br />

Parameters<br />

AH<br />

Returns ID of the calling task.<br />

0x04 (= RTX_GET_TASKID)<br />

Return Value<br />

DX=0 (success always) AX: contains the TaskID<br />

Related Topics<br />

Top of list<br />

Index page<br />

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

Interrupt 0xAD service 0x05: RTX_SLEEP_REQ, Sleep until wake request<br />

The calling task will be suspended until some other task issues a RTX_WAKEUP_TASK call to awake<br />

this calling task.<br />

Parameters<br />

AH<br />

0x05 (= RTX_SLEEP_REQ)<br />

Page 188 / 400

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

Saved successfully!

Ooh no, something went wrong!