Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Volatile happens before question Date: Tue, 17 Jan 2012 12:12:06 -0800 Organization: A noiseless patient Spider Lines: 19 Message-ID: References: <09848313-2372-4c23-8f52-fa84c612c100@u32g2000yqe.googlegroups.com> <15jRq.2104$d%2.1226@newsfe07.iad> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 17 Jan 2012 20:12:08 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="16221"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Lx+seqmjfq6Q+hqHSNnjgoIuzux+pB5o=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: Cancel-Lock: sha1:07CB3JvJ1t/SAxcJhdyCryTCsx8= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11425 Maybe some other folks would like to look too. I've found the blog I was looking for, but this guy is fairly prolific in his writing and I'm having trouble finding the article about how CPUs can return random values when proper signalling is not used. Take a search through this blog anyway, it's a real eye-opener. On 1/17/2012 12:09 PM, markspace wrote: > Check Java Concurrency in Practice. "Programs with data races have no > useful defined semantics." That's exactly what Brian Goetz says, and > this is what he's talking about. Reads and writes no longer work if you > obviate synchronization. >