Building Parallel, Embedded, and Real-Time Applications with by John W. McCormick

By John W. McCormick

The coming and recognition of multi-core processors has sparked a renewed curiosity within the improvement of parallel courses. equally, the provision of inexpensive microprocessors and sensors has generated a very good curiosity in embedded real-time courses. This booklet offers scholars and programmers whose backgrounds are in conventional sequential programming with the chance to extend their features into parallel, embedded, real-time and dispensed computing. It additionally addresses the theoretical starting place of real-time scheduling research, concentrating on conception that's worthy for real purposes. Written through award-winning educators at a degree compatible for undergraduates and starting graduate scholars, this booklet is the 1st really entry-level textbook within the topic. whole examples enable readers to appreciate the context within which a brand new inspiration is used, and allow them to construct and run the examples, make adjustments, and become aware of the consequences.

Show description

Read Online or Download Building Parallel, Embedded, and Real-Time Applications with Ada PDF

Best microprocessors & system design books

Logic-based artificial intelligence

This landmark quantity represents the end result of over forty years of analysis within the use of common sense as a foundation for representing and manipulating difficulties within the box of man-made intelligence. The use of good judgment as a foundation for common sense reasoning was once begun through John McCarthy in 1959. the gathering contains either unique examine and surveys of virtually each topic that makes use of common sense in AI, contributed by way of major scientists, and grew out of initial paintings awarded at the Workshop on Logic-Based synthetic Intelligence held in Washington, DC, June 1999.

Building Parallel, Embedded, and Real-Time Applications with Ada

The coming and recognition of multi-core processors has sparked a renewed curiosity within the improvement of parallel courses. equally, the supply of reasonably cheap microprocessors and sensors has generated an outstanding curiosity in embedded real-time courses. This e-book offers scholars and programmers whose backgrounds are in conventional sequential programming with the chance to extend their functions into parallel, embedded, real-time and allotted computing.

Extra resources for Building Parallel, Embedded, and Real-Time Applications with Ada

Example text

The function To Feet first does an explicit type conversion (three inches is converted to three feet) which is then divided by twelve to complete the unit conversion. Our two new floating point types are defined by the type definitions at the beginning of the program. To define a new floating point type, we must specify the minimum number of decimal digits we require in the mantissa in the floating point numbers. This number follows the word “digits” in the type definition. The specification of a range for a floating point type is optional.

Horace’s starvation violates our human concept of fairness. In a real kitchen, Horace and Mildred would certainly take turns using the spoon so that each of them makes progress towards their goals. Fairness in a concurrent program means that each process has an equal opportunity to move forward toward its goal. As we will see later, we often assign different priorities to different tasks making a conscious decision to be unfair. You now have a basic understanding of some of the problems associated with concurrent programming.

14 Rewrite the algorithms that Horace and Mildred followed for obtaining and using two measuring spoons. Eliminate the possibility of deadlock by removing the need for one cook to have the two spoons simultaneously. Remember that checking for a spoon and removing it from the rack are done as an atomic action. 15 Rewrite the algorithms that Horace and Mildred followed for obtaining and using two measuring spoons. Eliminate the possibility of deadlock by ensuring that each cook obtains the two spoons in the same order.

Download PDF sample

Building Parallel, Embedded, and Real-Time Applications with by John W. McCormick
Rated 4.96 of 5 – based on 15 votes