298
K
A
DAK
AMX 86 Procedures
Results Interrupts are disabled and then enabled upon return.
Status is returned.
AEROK = Call successful
AERTM0 = Timed out before required signals occurred
AERTMV = Invalid timeout interval (<0)
sigrecv identifies the received task signals which satisfied the match
criteria or those which had occurred prior to timeout.
If waiting for any of n task signals (match = 0),
AEROK: sigrecv identifies which of the n task
signals occurred.
AERTMO: sigrecv = 0.
If waiting for all of n task signals (match = 0),
AEROK: sigrecv = tsignals.
AERTMO: sigrecv identifies which of the n task
signals, if any, occurred before
the timeout.
Note Some or all of the task signals specified by tsignals may already be
pending at the time of the ajsgwat call. If these pending task signals
satisfy the match criteria, the calling task will resume instantly with
status = AEROK and sigrecv set as described.
Upon return from ajsgwat, the task's task signals, if any, indicated by
sigrecv will have been reset. All other task signals remain unaltered.
If tsignals = 0 and timeout = 0, the calling task will resume instantly
with status = AEROK and sigrecv = 0.
AMX procedures ajwait and ajwatm are a simplified form of procedure
ajsgwat in which one predefined private AMX task signal is used.
Delay If tsignals = 0 and a timeout interval is specified, the task will
unconditionally delay until the interval has expired. No task signal via
ajsgnl or ajwake call can end the delay prematurely.
See Also ajsgnl, ajsgrd, ajsgres, ajwait, ajwatm