Re: better atomics - v0.6 - Mailing list pgsql-hackers

From Andres Freund
Subject Re: better atomics - v0.6
Date
Msg-id 20140924183612.GA16581@awork2.anarazel.de
Whole thread Raw
In response to Re: better atomics - v0.6  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2014-09-24 14:28:18 -0400, Tom Lane wrote:
> Note that the spinlock code separates s_lock.h (hardware implementations)
> from spin.h (a hardware-independent abstraction layer).  Perhaps there's
> room for a similar separation here.

Luckily that separation exists ;). The hardware dependant bits are in
different files than the platform independent functionality on top of
them (atomics/generic.h).

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: add modulo (%) operator to pgbench
Next
From: Andrew Dunstan
Date:
Subject: json_object_agg return on no rows