Code snippets and examples from the book "Java Concurrency In Practice"