scientific article; zbMATH DE number 194148

From MaRDI portal
Publication:4040941





This book deals with the construction of concurrent programs. A concurrent program is defined as a program that contains parts that are designed to be executed in parallel. The reasons to use concurrency in developing a program for a given problem are in general two: i) the solution of the problem may require to perform operations that proceed in parallel, ii) the hardware of the computer on which the program will run supports parallel executions of operations which may enable the overall execution time of the program to be reduced. Examples of programs which are inherently concurrent are in real-time systems, operating systems, simulation modeling. As regards concurrency allowed by computers, it may be small scale, namely at program statement and expression level, and large scale, namely at the level of processes. This is the one primarily addressed in the book. After a general introduction and a chapter devoted to types of processing facilities existing on present computers to support concurrency (chapters 1 and 2), chapters 3-5 deal with program design techniques based on the modular approach, show how a modular design may be expressed in a monitor based programming language notation and how a concurrent program may be tested. Chapter 6 classifies different management situations that can occur when processes interact in a concurrent program as they complete for access to resources that they share. Chapter 7 deals with interprocess communication, in particular with communication via transfer of data through an intermediate buffer. Chapter 8-10 consider the use of concurrency in three application areas, namely discrete event simulation, real-time systems and operating systems. The discussion of concurrent program construction is illustrated by examples expressed in the programming language Pascal Plus, which belongs to the class of monitor- based languages together with Concurrent Euclid and Concurrent Pascal. Chapter 11 discusses languages which follow alternative approaches to process synchronization, in particular Modula 2, that provides lower level facilities, and Ada, that allows processes to interact directly. Each chapter contains a number of exercises whose solution is given in an appendix. Another appendix is devoted to a concise definition of Pascal Plus. Each chapter contains a summary and suggestion for further readings. The book is designed as a textbook for students of a second or third year undergraduate course on concurrent systems. Its purpose, fully achieved, is that of guiding the reader through the problems of modular design and concurrent program writing and testing for applications of which the ones given in chapters 8-10 are a good sample. Out of the scope of the book is formal modeling of concurrent systems and developing techniques for proving rather than testing correctness, as well as teaching any particular programming language.





Describes a project that uses

Uses Software






This page was built for publication:

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4040941)