AMX 86 Procedures
K
A
DAK
257
ajlordk ajlordk
Purpose Reorder an Object in a Keyed List
Used by n Task n IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup #include "amx831sd.h"
.
.
struct amxlhs list;
struct appobj *object;
unsigned int key;
.
.
ajlordk(&list, object, key);
DS:SI ES:BX CX
Where &list is a pointer to the list header.
object is a pointer to the object on the list which is to be moved within
the list.
key is the value of the new key for object.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Restrictions The caller must own the list. The list must not be manipulated by other
tasks, ISPs or Timer Procedures while this call is in progress. You can use
the Semaphore Manager to control ownership of the list if necessary.
ISPs should avoid the use of this procedure unless dealing with very short
lists. Use of this procedure with long lists may cause unacceptable timing
effects in ISPs.
See Also ajlinsk