-
dly_tsk
-
ER dly_tsk ( RELTIM dlytim );
|
MOVW BC, #dlytim_hi
MOVW AX, #dlytim_lo
CALL !!_dly_tsk
|
|
|
|
|
RELTIM dlytim;
|
Amount of relative time to delay the invoking task (unit: ticks).
|
This service call moves the invoking task from the RUNNING state to the WAITING state (delayed state).
As a result, the invoking task is unlinked from the ready queue and excluded from the RI78V4 scheduling subject.
The delayed state is cancelled in the following cases, and then moved to the READY state.
Delayed State Cancel Operation
|
|
Delay time specified by parameter dlytim has elapsed.
|
|
Forced release from waiting (accept rel_wai while waiting).
|
|
Forced release from waiting (accept irel_wai while waiting).
|
|