Skip to main content Accessibility help
×
Hostname: page-component-7479d7b7d-k7p5g Total loading time: 0 Render date: 2024-07-09T13:15:15.180Z Has data issue: false hasContentIssue false

13 - Concurrent Real-Time Software Task Design

from Part II - Real-Time Software Design Method

Published online by Cambridge University Press:  05 March 2016

Hassan Gomaa
Affiliation:
George Mason University, Virginia
Get access

Summary

For a real-time embedded system, an important consideration in system or subsystem design is the design of the concurrent tasks it contains as well as the communication and synchronization between these tasks, as described in this chapter. A task type is an active class and a task is an active object with its own thread of control. A passive object is an instance of a passive class and has no thread of control.

During concurrent task design, a task architecture is developed in which the system is structured into concurrent tasks and the task interfaces and interconnections are designed. To help determine the concurrent tasks, task structuring criteria are provided to assist in mapping an object-oriented analysis model of the system to a concurrent tasking architecture. These criteria are a set of heuristics, also referred to as guidelines, which capture expert designer knowledge in the software design of concurrent real-time systems. Task structuring decisions are depicted using stereotypes. This chapter uses MARTE stereotypes (Selic 2014) to depict concurrent tasks, as introduced in Chapter 3. After task structuring, the task interfaces and interconnections are designed by applying the architectural communication patterns described in Chapter 11.

Real-time software architectures can also be distributed; for this reason they can be considered a special case of component-based software architectures. In this context, a simple component is either designed as one task or as a component that contains multiple active objects (tasks) and passive objects, as described in Chapter 12.

This chapter is organized as follows: Section 13.1 describes concurrent task structuring issues. Section 13.2 describes categorizing concurrent tasks using task structuring criteria. Section 13.3 describes I/O task structuring criteria, while Section 13.4 describes internal task structuring criteria. Section 13.6 describes task clustering structuring criteria. Section 13.7 describes design restructuring using task inversion. Section 13.8 describes the steps in developing the concurrent task architecture. Section 13.9 describes designing the task interfaces using task communication and synchronization. Section 13.10 describes documenting task interface and behavior specifications.

CONCURRENT TASK STRUCTURING ISSUES

A concurrent task is an active object, also referred to as a concurrent object, process or thread. In this chapter, the term concurrent task is used to refer to an active object with one thread of control.

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

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.

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.

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.

Available formats
×