On Wednesday 20 January 2010 17:59:36 Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
> > I realize its way too late in the cycle for that, but why dont we start
> > using some library for easy cross platform atomic ops?
>
> (1) there probably isn't one that does exactly what we want, works
> everywhere, and has the right license;
> (2) what actual gain would we get? We've already done the work.
Another thing would be to have a simple rmb() wmb() instruction...
Andres