[Mono-list] Class library developers: locking issues to keep in mind

Christian Ratliff cratliff@lily.org
Mon, 29 Oct 2001 06:08:14 -0500


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

Serge,

  I have had to deal with this problem under both Java and C++ under
the IA32/SMP architecture, and it has never been a good time. Despite
all the assurances to the contrary, in the end we had to require
prior initialization of a lock dispensery.
  In any case, during my research into this problem, I bumped across
this document, you may find it interesting:

The "Double-Checked Locking is Broken" Declaration
http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html

Good luck,
christian

+-----+
Christian Ratliff <cratliff@lily.org>
lily Development Group
"This is the very perfection of man, 
  to find out his own imperfections" -  St. Augustine

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBO904nbZBtyfwMNgGEQJgjgCePA0krQdlJtNQWjL4yeaRJm6oqYgAoIX3
oxJgWdfEHUTgn1OxO1zv+Kbc
=OkSE
-----END PGP SIGNATURE-----