bob wrote:
>
> On Friday, September 21, 2012 12:35:09 PM UTC-5, Lew wrote:
>>
>> niko20 wrote:
>>>
>>> Thread safety is only an issue if both threads are attempting to write 
>>> to the variable. If one is only writing, and the other is only reading, 
>>> then you don't have to worry about locks
>>
>>
>> That is completely wrong.
>>
> Yes, it is wrong because you may read it when it's only half-written.
>
That is also completely wrong.
 
-- 
Lew
 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to