can_act

Outline

Cancel task activation requests.

C format

 ER_UINT can_act ( ID tskid );


Assembly format

 MOV     A, #tskid
 CALL    !!_can_act


Parameter(s)

I/O

Parameter

Description

I

 ID      tskid;
ID number of the task for cancelling activation requests.

TSK_SELF: Invoking task.

Value: ID number of the task for cancelling activation requests.



Explanation

This service call cancels all of the activation requests queued to the task specified by parameter tskid (sets the activation request counter to 0x0).

When this service call is terminated normally, the number of cancelled activation requests is returned.

Return value

Macro

Value

Description

-

-

Normal completion (activation request count: positive value or 0).