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

“You can use volatile variables only when all the following criteria are met: Writes to the variable do not depend on its current value, or you can ensure that only a single thread ever updates the value; The variable does not participate in invariants with other state variables; and Locking is not required for any other reason while the variable is being accessed.”

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