(?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)

“A special case of thread confinement applies to volatile variables. It is safe to perform read-modify-write operations on shared volatile variables as long as you ensure that the volatile variable is only written from a single thread. In this case, you are confining the modification to a single thread to prevent race conditions, and the visibility guarantees for volatile variables ensure that other threads see the most up-to-date value. Because”

Brian Goetz, Java Concurrency in Practice
Read more quotes from Brian Goetz


Share this quote:
Share on Twitter

Friends Who Liked This Quote

To see what your friends thought of this quote, please sign up!

0 likes
All Members Who Liked This Quote

None yet!


This Quote Is From

Java Concurrency in Practice Java Concurrency in Practice by Brian Goetz
2,896 ratings, average rating, 138 reviews
Open Preview

Browse By Tag