Hi,
I am currently going through book '
Java Concurrency in Practice', and sometimes statements written
in book are very difficult to comprehend. One such line I came across is:
We may talk about thread safety as if it were about code, but what we are really trying to do is
protect data from uncontrolled concurrent access.
What does it really mean? I sense that author is trying to tell reader something important here but
I am not able to really figure it out. To me, two parts of statement are actually dependent..as our aim
is to protect data from uncontrolled concurrent access and we do it by writing proper code. But the
way author has written it is as if these are two different aspects.
OR am I reading too much here?
Manish