On 11/30/2011 05:13 PM, Richard Henderson wrote: > The library is written in C++, so in theory we can use the real atomic<> > templates, etc. Except that we have the same horrid problem finding the C++ > headers as did for <type_traits>, so again we have a local copy of <atomic>. > Blah. But given that it is a copy, the rest of the code is using the real > interfaces. > > This passes the testsuite on power7 (gcc110), which *is* picky about memory > barriers, but I seem to recall that the larger external tests that Velox used > were much better at picking out problems. And I've misplaced those... > > Torvald, if you'd be so kind as to cast another set of eyes across this, I'd > be grateful.
I've committed the patch. r~