Skip to main content

Section 9: Tasks and Synchronization

  • Chapter
  • First Online:
Consolidated Ada Reference Manual Language and Standard Libraries

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2219))

  • 165 Accesses

Abstract

The execution of an Ada program consists of the execution of one or more tasks. Each task represents a separate thread of control that proceeds independently and concurrently between the points where it interacts with other tasks. The various forms of task interaction are described in this section, and include:

  • the activation and termination of a task;

  • a call on a protected subprogram of a protected object, providing exclusive read-write access, or concurrent read-only access to shared data;

  • a call on an entry, either of another task, allowing for synchronous communication with that task, or of a protected object, allowing for asynchronous communication with one or more other tasks using that same protected object;

  • a timed operation, including a simple delay statement, a timed entry call or accept, or a timed asynchronous select statement (see next item);

  • an asynchronous transfer of control as part of an asynchronous select statement, where a task stops what it is doing and begins execution at a different point in response to the completion of an entry call or the expiration of a delay;

  • an abort statement, allowing one task to cause the termination of another task.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2000 The MITRE Corporation, Inc.

About this chapter

Cite this chapter

(2000). Section 9: Tasks and Synchronization. In: Taft, S.T., Duff, R.A., Brukardt, R.L., Ploedereder, E. (eds) Consolidated Ada Reference Manual Language and Standard Libraries. Lecture Notes in Computer Science, vol 2219. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45340-7_9

Download citation

  • DOI: https://doi.org/10.1007/3-540-45340-7_9

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43038-4

  • Online ISBN: 978-3-540-45340-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics