Skip to main content Accessibility help
×
Hostname: page-component-76fb5796d-vvkck Total loading time: 0 Render date: 2024-04-25T11:37:36.786Z Has data issue: false hasContentIssue false

7 - Parallel and communicating processes

Published online by Cambridge University Press:  05 July 2014

J. C. M. Baeten
Affiliation:
Technische Universiteit Eindhoven, The Netherlands
T. Basten
Affiliation:
Technische Universiteit Eindhoven, The Netherlands
M. A. Reniers
Affiliation:
Technische Universiteit Eindhoven, The Netherlands
Get access

Summary

Interleaving

So far, the focus has been on sequential processes: actions can be executed, or alternatives can be explored, starting from a single point of control. In this chapter, the step is taken towards the treatment of parallel or distributed systems: it is allowed that activities exist in parallel. Just allowing separate activity of different components is not enough. A genuine treatment of parallel activity requires in addition a description of interaction between parallel activities.

Suppose there are two sequential processes x and y that can execute actions, and choose alternatives, independently. The merge operator ‖ denotes parallel composition. Thus, the parallel composition of x and y is denoted xy. To illustrate the intuition behind the algebraic treatment of parallel composition, consider an external observer O that observes process xy. Observations can be made of executions of actions. Assume that these observations are instantaneous. Then, it can be seen that the observations of actions of x and actions of y will be merged or interleaved in time.

Consider the example a.0 ‖ b.0. This process involves the execution of two actions, one from each component. Observer O might see the execution of a first, and then the execution of b. After this, no further activity is possible. On the other hand, observer O might see the execution of b first, then the execution of a followed by inaction. Finally, the observer might observe the two actions simultaneously.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2009

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org 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.

  • Parallel and communicating processes
  • J. C. M. Baeten, Technische Universiteit Eindhoven, The Netherlands, T. Basten, Technische Universiteit Eindhoven, The Netherlands, M. A. Reniers, Technische Universiteit Eindhoven, The Netherlands
  • Book: Process Algebra: Equational Theories of Communicating Processes
  • Online publication: 05 July 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9781139195003.011
Available formats
×

Save book 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 Dropbox.

  • Parallel and communicating processes
  • J. C. M. Baeten, Technische Universiteit Eindhoven, The Netherlands, T. Basten, Technische Universiteit Eindhoven, The Netherlands, M. A. Reniers, Technische Universiteit Eindhoven, The Netherlands
  • Book: Process Algebra: Equational Theories of Communicating Processes
  • Online publication: 05 July 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9781139195003.011
Available formats
×

Save book to Google Drive

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.

  • Parallel and communicating processes
  • J. C. M. Baeten, Technische Universiteit Eindhoven, The Netherlands, T. Basten, Technische Universiteit Eindhoven, The Netherlands, M. A. Reniers, Technische Universiteit Eindhoven, The Netherlands
  • Book: Process Algebra: Equational Theories of Communicating Processes
  • Online publication: 05 July 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9781139195003.011
Available formats
×