Concurrent Programming: Algorithms, Principles, and Foundations Front Cover

Concurrent Programming: Algorithms, Principles, and Foundations

  • Length: 538 pages
  • Edition: 2013
  • Publisher:
  • Publication Date: 2012-12-26
  • ISBN-10: 3642320260
  • ISBN-13: 9783642320262
  • Sales Rank: #2557055 (See Top 100 Books)
Description

The advent of new architectures and computing platforms means that synchronization and concurrent computing are among the most important topics in computing science. Concurrent programs are made up of cooperating entities — processors, processes, agents, peers, sensors — and synchronization is the set of concepts, rules and mechanisms that allow them to coordinate their local computations in order to realize a common task. This book is devoted to the most difficult part of concurrent programming, namely synchronization concepts, techniques and principles when the cooperating entities are asynchronous, communicate through a shared memory, and may experience failures. Synchronization is no longer a set of tricks but, due to research results in recent decades, it relies today on sane scientific foundations as explained in this book.

In this book the author explains synchronization and the implementation of concurrent objects, presenting in a uniform and comprehensive way the major theoretical and practical results of the past 30 years. Among the key features of the book are a new look at lock-based synchronization (mutual exclusion, semaphores, monitors, path expressions); an introduction to the atomicity consistency criterion and its properties and a specific chapter on transactional memory; an introduction to mutex-freedom and associated progress conditions such as obstruction-freedom and wait-freedom; a presentation of Lamport’s hierarchy of safe, regular and atomic registers and associated wait-free constructions; a description of numerous wait-free constructions of concurrent objects (queues, stacks, weak counters, snapshot objects, renaming objects, etc.); a presentation of the computability power of concurrent objects including the notions of universal construction, consensus number and the associated Herlihy’s hierarchy; and a survey of failure detector-based constructions of consensus objects.

The book is suitable for advanced undergraduate students and graduate students in computer science or computer engineering, graduate students in mathematics interested in the foundations of process synchronization, and practitioners and engineers who need to produce correct concurrent software. The reader should have a basic knowledge of algorithms and operating systems.

Table of Contents

Part I Lock-Based Synchronization
1 The Mutual Exclusion Problem
2 Solving Mutual Exclusion
3 Lock-Based Concurrent Objects

Part II On the Foundations Side:The Atomicity Concept
4 Atomicity: Formal Definition and Properties

Part III Mutex-Free Synchronization
5 Mutex-Free Concurrent Objects
6 Hybrid Concurrent Objects
7 Wait-Free Objects from Read/Write Registers Only
8 Snapshot Objects from Read/Write Registers Only
9 Renaming Objects from Read/Write Registers Only

Part IV The Transactional Memory Approach
10 Transactional Memory

Part V On the Foundations Side:From Safe Bits to Atomic Registers
11 Safe, Regular, and Atomic Read/Write Registers
12 From Safe Bits to Atomic Bits: Lower Bound and Optimal Construction
13 Bounded Constructions of Atomic b-Valued Registers
Part VI On the Foundations Side:The Computability Power of Concurrent Objects (Consensus)

14 Universality of Consensus
15 The Case of Unreliable Base Objects
16 Consensus Numbers and the Consensus Hierarchy
17 The Alpha(s) and Omega of Consensus: Failure Detector-Based Consensus

To access the link, solve the captcha.