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.

Comments<br />

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

Note that the <strong>@CHIP</strong>-<strong>RTOS</strong> implementation maintains a separate Boolean representing "Suspended" for<br />

each task. Consequently, to suspend a task which is already waiting for some other reason (Trigger,<br />

Semaphore, Event Group, Message, or Sleep) means that the task will remain inactive after the other<br />

wait condition is released (e.g. after the task is granted a semaphore).<br />

Related Topics<br />

Top of list<br />

Index page<br />

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

Interrupt 0xAD service 0x0F: RTX_RESUME_TASK, Resume a task<br />

Parameters<br />

AH<br />

BX<br />

Re-enables the execution of a suspended task.<br />

0x0F (= RTX_RESUME_TASK)<br />

taskID (value from RTX_TASK_CREATE call)<br />

Return Value<br />

Comments<br />

DX =0 success AX: 0<br />

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

This can result in an immediate task switch if the suspended task is higher priority than the calling task.<br />

Related Topics<br />

Top of list<br />

Index page<br />

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

Interrupt 0xAD service 0x10: RTX_RESTART_TASK, Start task<br />

Parameters<br />

Start execution of a specified task which was in the "Trigger Wait" state.<br />

Page 203 / 400

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

Saved successfully!

Ooh no, something went wrong!