272
K
A
DAK
AMX 86 Procedures
ajmxdel ajmxdel
Purpose Delete a Message Exchange
Used by n Task o IS P o Timer Procedure n Restart Procedure n Exit Procedure
Setup AMXID exchange;
int status;
.
.
status = ajmxdel(exchange);
AX BX
Where exchange is the exchange id of the message exchange to be deleted.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
AERNSX = Invalid message exchange id
AERXIU = Message exchange is still in use
Messages may still be present in the message exchange or
one or more tasks may be waiting for a message to arrive at
the message exchange.
Restrictions You must be absolutely certain that no other task, ISP or Timer Procedure
is in any way using or about to use the message exchange. Failure to
observe this restriction may lead to unexpected and unpredictable faults.
See Also ajmxcre