[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dynamic Priority
URGENT syntax
~~~~~~~~~~~~~
Extend the current syntax to allow
PAR
Declaration(s)
Process_list
where the scope of the Declaration is the list. Perhaps only
Urgent_declarations are permitted in this position? But this is the only
place that Urgent_declarations may appear?
Example:
CHAN OF INT routine:
PAR
URGENT CHAN OF INT fire_alarm:
P0
P1
URGENT channel arrays
~~~~~~~~~~~~~~~~~~~~~
URGENT [10] CHAN OF type talk : -- declares 10 channels at the same level
[10]URGENT CHAN OF eek alarm : -- declares 10 channels with
-- priority alarm[i] > priority alarm[i+1]
Although CHAN is redundant unless we find other uses for URGENT, it should
be kept to make the code raedable, and to match SHARED CHAN and such.
---------------------------------------------------------------------------
Will this do? Any advance?
Adrian
--
A E Lawrence, MA., DPhil. adrian.lawrence@xxxxxxxxxxxxxx
MicroProcessor Unit, 13, Banbury Road, Oxford. OX2 6NN. UK.
Voice: (+44)-1865-273274, Fax: (+44)-1865-273275