Chapter 16

Concepts of Concurrent Programming

Part I started with the observation that there is no single definition of functional programming. Unfortunately, there is no universally agreed-upon definition of concurrent programming either, and defining concurrent programming is at least as difficult a task as defining functional programming was in Part I of the book. The issue is similar: The terminology is ambiguous, and different people choose to emphasize different aspects. Nevertheless, from the indisputable premise that concurrent programs do not execute in a purely sequential manner, several key concepts of concurrent programming emerge, including synchronicity, atomicity, threads, synchronization, and nondeterminism.

16.1 Non-sequential ...

Get Functional and Concurrent Programming: Core Concepts and Features now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.