Re: GCC builtins for atomic-test-and-set, memory barries, and such - Mailing list pgsql-hackers

From Jonah H. Harris
Subject Re: GCC builtins for atomic-test-and-set, memory barries, and such
Date
Msg-id 36e682920709232110w7981e1e3i2a52d60b63b370a7@mail.gmail.com
Whole thread Raw
In response to Re: GCC builtins for atomic-test-and-set, memory barries, and such  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: GCC builtins for atomic-test-and-set, memory barries, and such
List pgsql-hackers
On 9/23/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> It doesn't seem very interesting given that (a) we already have working
> code for this area, and (b) gcc is not our only target compiler.

I agree.  I'd prefer to know exactly what's going on in the atomic
code (rather than having the compiler take care of it for me).
Similarly, it's pretty rare to use GCC on anything but Linux and the
*BSDs as each proprietary UNIX vendor has their own compiler optimized
for their own architectures and operating systems.

-- 
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation                | fax: 732.331.1301
499 Thornall Street, 2nd Floor          | jonah.harris@enterprisedb.com
Edison, NJ 08837                        | http://www.enterprisedb.com/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: GCC builtins for atomic-test-and-set, memory barries, and such
Next
From: Alvaro Herrera
Date:
Subject: Re: autovacuum launcher eating too much CPU