[Omp] A memory model question
Michael Suess
mike_ml at suessnetz.de
Fri Jul 21 04:32:47 PDT 2006
On Friday 14 July 2006 01:05, Bronis R. de Supinski wrote:
Hi Bronis, hi list,
[snip - example code and explanation]
>> I think I am missing something, but I cannot figure it out
>> from the spec and from Jay's and Gregs paper on the memory model.
> First (a perhaps minor point), I was Greg's co-author, not Jay
> (Jay and Greg put the lab tutorial together with my assistance).
Sorry for misattributing your work. To be even more precise, I was referring
to your paper at last years IWOMP here, titled "The OpenMP Memory Model" and
authored by Jay and you, as in this paper I usually try to find the answers
to my memory model questions first (besides the spec, of course). Still a
misattribution on my part, though, sorry about that.
Also thanks for teaching me about the memory model, I think I got it straight
in my head again now, thanks to your help. As Georg pointed out in a
different mail, the double-checked-locking pattern is broken beyond repair
for C++ anyways, but still your answer helped a lot for my understanding of
the memory-model.
I am still experimenting around with singletons and OpenMP and already have
got the next problem, but that is a topic for a different mail alltogether.
Best regards from Germany,
Michael
More information about the Omp
mailing list