AMX 86 Frozen Dessert Maker User Manual


 
AMX 86 Procedures
K
A
DAK
307
Results Interrupts are disabled and then enabled upon return.
Status is returned.
AEROK = Call successful
AERNSS = Invalid semaphore id
AERTMO = Timed out without being granted the resource
AERTMV = Invalid timeout interval (<0)
The calling task will be suspended waiting for the resource if the resource
is owned by some other task.
When the resource is finally available for use by the caller, the procedure
will return with status = AEROK.
Upon first acquiring ownership of the resource, the resource's use count is
set to one.
It is permissible for a task to call ajsmrsv even if the calling task already
owns the resource. The resource use count is incremented by one for each
subsequent call by the resource owner.
Restriction You must not attempt to reserve a counting semaphore. Use ajsmwat or
ajsmget for that purpose.
See Also ajsmrls, ajsmfre