Published online by Cambridge University Press: 08 January 2010
PRIORITIES AND INTERRUPTS
In this chapter will develop some additional features to the theory in the former chapters, in order to enlarge the area of its application. Let us start by introducing a mechanism to describe priorities in the system ACP of chapter 4 (see 4.2.1). In ACP with priorities some actions have priority over others in a sum. This mechanism can be used to model interrupts in a distributed system.
REMARK
We will not combine the system ACP with priorities with τ and the abstraction operator of chapter 5. This can be done in several ways, see 6.1.23.
PARTIAL ORDERING
Assume we have a partial ordering on the set of atomic actions A. This means that we have a relation < satisfying, for all a,b,c∈ A:
at most one< / i. of a < b, b < a, a = b is the case;
a<b and b<c imply a<c.
a<b now means that b has priority over a. Special constants like δ, are not included in the ordering, and thus never have priority over other actions (this is forced by axiom A6).
AIM
We want to define an operator ε implementing these priorities, i.e: if a<b, a<c, and b and c are not related, we want to have:
ε(a + b) = b; ε(a + c) = c;
ε(b + c) = b + c.
ACTION RELATIONS
It is relatively straightforward to give a definition by action relations of the priority operator. We present such a definition in table 68 below.
To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.