Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-g8jcs Total loading time: 0 Render date: 2024-11-26T02:43:51.124Z Has data issue: false hasContentIssue false

Chapter 17 - Tasks

Published online by Cambridge University Press:  19 January 2010

Peter D. Mosses
Affiliation:
Aarhus Universitet, Denmark
Get access

Summary

  • Task declarations initiate concurrent processes, which can synchronize using entry calls and accept statements. The select statement may now iterate until an entry call can be accepted.

  • The semantics of task declarations illustrates the use of the communicative action notation introduced in Chapter 10.

  • Semantic entities now include agents, and various signals sent in messages. They also include entities that represent open alternatives of selections.

Let us first consider the treatment of input and output in programming languages. By definition, the input of a program is the information that is supplied to it by the user; the output is the information that the user gets back. However, it is important to take into account not only what information is supplied, but also when the supply takes place. We may distinguish between so-called batch and interactive input-output.

With batch input, all the input to the program is supplied at the start of the program. The input may then be regarded as stored, in a file. Batch output is likewise accumulated in a file, and only given to the user when (if ever) the program terminates. On the other hand, interactive input is provided gradually, as a stream of data, while the program is running; the program may have to wait for further input data to be provided before it can proceed. Similarly, interactive output is provided to the user while the program is running, as soon as it has been determined.

Type
Chapter
Information
Action Semantics , pp. 195 - 204
Publisher: Cambridge University Press
Print publication year: 1992

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.

  • Tasks
  • Peter D. Mosses, Aarhus Universitet, Denmark
  • Book: Action Semantics
  • Online publication: 19 January 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511569869.022
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.

  • Tasks
  • Peter D. Mosses, Aarhus Universitet, Denmark
  • Book: Action Semantics
  • Online publication: 19 January 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511569869.022
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.

  • Tasks
  • Peter D. Mosses, Aarhus Universitet, Denmark
  • Book: Action Semantics
  • Online publication: 19 January 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511569869.022
Available formats
×