Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-vpsfw Total loading time: 0 Render date: 2024-07-18T20:26:34.918Z Has data issue: false hasContentIssue false

3 - Concurrent processes

Published online by Cambridge University Press:  08 January 2010

J. C. M. Baeten
Affiliation:
Stichting Centrum voor Wiskunde en Informatica (CWI), Amsterdam
W. P. Weijland
Affiliation:
Stichting Centrum voor Wiskunde en Informatica (CWI), Amsterdam
Get access

Summary

INTERLEAVING

In order to be able to describe processes that occur in parallel, concurrently, we introduce the merge operator ||.

The process χ || y is the process that executes processes χ and y in parallel. If we assume

that the observation of an atomic action has no duration, and that two actions cannot happenn simultaneously, then it appears that in χ || y the atomic actions of χ are merged or interleaved with those of y: every time we either see the next action of χ, or the next action of y. Thus, in a || b (a,b ∈ A) we either see a first, followed by b, or we see b first, followed by a. We obtain the following identity:

a||b = ab + ba.

This approach to the merge operator is called arbitrary interleaving or shuffle in the literature. Notice that we do not assert that the first action has terminated when the second one starts. This can depend on the implementation of a process (on a sequential or a parallel machine). We can however, if we want to, explicitly state that two actions can overlap in time: if g and h are two events having some duration, we can introduce atomic actions begin(g), end(g), begin(h) and end(h), and then we can describe process g || h by

This process has begin(g)·begin(h)·end(g)·end(h) as one of its possible execution sequences.

Note that in this theory, we cannot mention time explicitly, contrary to theories like temporal logic.

In 3.1.2 we will expand the system BPA from chapter 2 with this merge operator. In order to specify the merge in finitely many equations, we need an auxiliary operator.

Type
Chapter
Information
Process Algebra , pp. 67 - 90
Publisher: Cambridge University Press
Print publication year: 1990

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.

  • Concurrent processes
  • J. C. M. Baeten, Stichting Centrum voor Wiskunde en Informatica (CWI), Amsterdam, W. P. Weijland, Stichting Centrum voor Wiskunde en Informatica (CWI), Amsterdam
  • Book: Process Algebra
  • Online publication: 08 January 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511624193.004
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.

  • Concurrent processes
  • J. C. M. Baeten, Stichting Centrum voor Wiskunde en Informatica (CWI), Amsterdam, W. P. Weijland, Stichting Centrum voor Wiskunde en Informatica (CWI), Amsterdam
  • Book: Process Algebra
  • Online publication: 08 January 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511624193.004
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.

  • Concurrent processes
  • J. C. M. Baeten, Stichting Centrum voor Wiskunde en Informatica (CWI), Amsterdam, W. P. Weijland, Stichting Centrum voor Wiskunde en Informatica (CWI), Amsterdam
  • Book: Process Algebra
  • Online publication: 08 January 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511624193.004
Available formats
×