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 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.