AMX 86 Procedures
K
A
DAK
341
ajwakc ajwakc
Purpose Wake Calling Task (Acknowledge Receipt of Message)
To allow the current task to wake up the task which sent the message
which is being processed by the current task.
Used by n Task o IS P o Timer Procedure o Restart Procedure n Exit Procedure
Setup int status;
.
.
status = ajwakc();
AX
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
AERCNW = Task which sent the message is not waiting
AERNMT = Current task is not processing a received message from
another task.
An immediate task switch will occur if the task being wakened is of higher
priority than the current task.
Note This procedure is equivalent to a call to ajwakcs to return a value of
AEROK (0) to the calling task.
See Also ajsenw, ajend, ajwakcs