RE: JavaMemoryModel: Definitive citation for double-check idiom

From: David Holmes (dholmes@ics.mq.edu.au)
Date: Sun Jan 23 2000 - 16:39:31 EST


> Is this the definitive/source citation for the double-check
> idiom? Did things flow from this, or is the double-check idiom
> just one of those things that everyone re-invents on their own?
>
> Douglas Schmidt and Tim Harrison. ''Double-Checked Locking:
> An Optimization Pattern for Efficiently Initializing and Accessing
> Thread-safe Objects,'' Pattern Languages of Program Design 3,
> http://www.cs.wustl.edu/~schmidt/DC-Locking.ps.gz

This is the only documented description of the idiom that I know of, but
like all patterns this is simply documentation of something that is
"accepted and known practice". I don't think Doug and Tim claim to have
invented it. I cite such things using "as documented by ...".

David Holmes



This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:24 EDT