Appendix CA Brief Introduction to Concurrent Programming in Java
C.1 CREATING THREADS
C.2 ATOMICITY, MEMORY SYNCHRONIZATION, AND THE
C.3 SYNCHRONIZED BLOCKS
C.4 WAIT AND NOTIFY
C.6 OTHER SYNCHRONIZATION MECHANISMS AND SHARED DATA STRUCTURES
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 ...