-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim,

On 6/15/2009 12:43 PM, Tim Funk wrote:
> correction: The double checked idiom was "fixed" in java5. The variable
> which is checked needs to be declared as volatile. The link states that
> at the bottom.

...which is why I said:

>> There are cases where you /can/ make it work, but let's face it: most
>> programmers simple cannot be trusted to do it properly. Also, the
>> techniques are very sensitive to JVM level, etc. so you'd need to have a
>> different implementation depending on which JVM you were running. Yuk.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAko2yWoACgkQ9CaO5/Lv0PDHOgCfarmCJhzzjKfeC7tF4tTT2eF6
9DoAoJP2gROiP3B+hvnRseGnttrPfVcP
=XWKy
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to