On Wed, Mar 30, 2016 at 10:09 AM, Derek Gaston <fried...@gmail.com> wrote:

> Yeah - definitely egg on my face.  There were so many different versions
> that I just screwed up the final one.
>
> I'll put in a PR to fix it.
>
> The weird thing is... I know that I ran tests on this version... and it
> worked fine.  Must have just gotten lucky (a few million times).
>

According to the Meyers paper (see pg. 12) the first memory fence might
need to go outside the first if-statement as well?

http://www.aristeia.com/Papers/DDJ_Jul_Aug_2004_revised.pdf

His example is slightly different of course, since it's for Singleton...

-- 
John
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to