-
rel_wai
irel_wai
-
Release task from waiting.
ER rel_wai (ID tskid);
ER irel_wai (ID tskid);
These service calls forcibly cancel the WAITING state of the task specified by parameter
tskid.
As a result, the target task unlinked from the wait queue and is moved from the WAITING state to the READY state, or from the WAITING-SUSPENDED state to the SUSPENDED state.
"E_RLWAI" is returned from the service call that triggered the move to the WAITING state (
slp_tsk,
wai_sem, or the like) to the task whose WAITING state is cancelled by this service call.
Note 1 These service calls do not perform queuing of forced cancelation requests. If the target task is neither in the WAITING state nor WAITING-SUSPENDED state, "E_OBJ" is returned.
Note 2 The SUSPENDED state is not cancelled by these service calls.
|
|
|
|
|
|
|
|
|
|
|
- This service call was issued in the CPU locked state.
- The irel_wai was issued from task.
- The rel_wai was issued from non-task.
- This service call was issued in the status "PSW.IPL > kernel interrupt mask level".
|
|
|
- Specified task is neither in the WAITING state nor WAITING-SUSPENDED state.
|