Title Statements
- Full title :Learning Concurrent Programming in Scala.
Summary
Annotation
Read More ↓Edition Statements
- Publication Date:2014.
Publication Statements
- Publisher(s):Packt Publishing
- Language:eng
- Publication Date:2014.
The Physical Object
- Description:1 online resource
Edition Identifiers
- ISBN:1322348448, 9781322348445, 9781783281428, 1783281421, 9781783281411, 1783281413
- oclc:ocn897502501
- LC Classification:T55.4-60.8
- Dewey Decimal:005.114
Table of Contents
Cover; Copyright; Credits; Foreword; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introduction; Concurrent programming; A brief overview of traditional concurrency; Modern concurrency paradigms; The advantages of Scala; Preliminaries; Execution of a Scala program; A Scala primer; Summary; Exercises; Chapter 2: Concurrency on the JVM and the Java Memory Model; Processes and Threads; Creating and starting threads; Atomic execution; Reordering; Monitors and synchronization; Deadlocks; Guarded blocks.
Interrupting threads and the graceful shutdownVolatile variables; The Java Memory Model; Immutable objects and final fields; Summary; Exercises; Chapter 3: Traditional Building Blocks of Concurrency; The Executor and ExecutionContext objects; Atomic primitives; Atomic variables; Lock-free programming; Implementing locks explicitly; The ABA problem; Lazy values; Concurrent collections; Concurrent queues; Concurrent sets and maps; Concurrent traversals; Creating and handling processes; Summary; Exercises; Chapter 4: Asynchronous Programming with Futures and Promises; Futures.
Starting future computationsFuture callbacks;…
Rate & Review