tk_ena_wai

Enable Task Wait

[C Language Interface]

ER ercd = tk_ena_wai ( ID tskid ) ;

[Parameters]

ID tskid Task ID

[Return Parameters]

ER ercd Error code

[Error Codes]

E_OK Normal completion

E_ID Invalid ID number (tskid is invalid or cannot be used)

E_NOEXS Object does not exist (the task specified in tskid does not exist)

[Description]

Releases all wait disable conditions set by tk_dis_wai for the task specified in tskid.

The invoking task can be specified by setting tskid = TSK_SELF = 0. Note, however, that when a system call is issued from a task-independent portion and tskid = TSK_SELF = 0 is specified, error code E_ID is returned.

Comments