Appendix CA Brief Introduction to Concurrent Programming in Java

C.1 CREATING THREADS

C.2 ATOMICITY, MEMORY SYNCHRONIZATION, AND THE volatile KEYWORD

C.3 SYNCHRONIZED BLOCKS

C.4 WAIT AND NOTIFY

C.5 LOCKS

C.6 OTHER SYNCHRONIZATION MECHANISMS AND SHARED DATA STRUCTURES

C.7 INTERRUPTS

Java is an object-oriented programming language that provides language support for expressing concurrency in shared-memory programs. Java's support for polymorphism can be exploited to write frameworks directly supporting some of the patterns described in this book. The framework provides the infrastructure for the pattern; the application programmer adds subclasses containing the application-specific code. An example is found in the Examples section of the ...

Get Patterns for Parallel Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.