December 2011
Intermediate to advanced
672 pages
18h 27m
English

CHAPTER
18
Blocking Queues and Synchronizers
s you saw in the previous chapter, the Java language has had support for threads and concurrency from day one. You have seen the use of synchronization primitives such as synchronized and volatile, and the use of the Thread class. These concurrency primitives addressed the needs of the then-available hardware technology (in 1995), where all commercially available machines offered only a single-core CPU for processing. The threads in those days provided asynchrony, rather than concurrency, which was adequate ...
Read now
Unlock full access