Lew wrote: > > bob wrote: >> >> 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. >
bob, do you remember this post from upthread: > Thread safety in Java is determined by "happens-before" relationships and related concepts. > http://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.4 > specifically > http://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.4.5 > > Please do not promulgate false information. ? Please take the care to inform yourself before you spout more nonsense. -- Lew -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

