Re: [BUGS] BUG #2401: spinlocks not available on amd64

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Theo Schlossnagle <jesus(at)omniti(dot)com>, josh(dot)berkus(at)sun(dot)com, robert(dot)lor(at)sun(dot)com, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [BUGS] BUG #2401: spinlocks not available on amd64
Date: 2006-04-28 03:43:28
Message-ID: 200604280343.k3S3hSU10026@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>
> > ! extern volatile slock_t pg_atomic_cas(volatile slock_t *lock, slock_t with,
> > ! slock_t cmp);
>
> Surely it is not useful to mark the result of a function as volatile.

"volatile" removed.

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kris Jurka 2006-04-28 04:25:48 Re: [BUGS] BUG #2401: spinlocks not available on amd64
Previous Message Theo Schlossnagle 2006-04-27 23:55:38 Re: [BUGS] BUG #2401: spinlocks not available on amd64

Browse pgsql-patches by date

  From Date Subject
Next Message Kris Jurka 2006-04-28 04:25:48 Re: [BUGS] BUG #2401: spinlocks not available on amd64
Previous Message Tom Lane 2006-04-28 01:36:56 Re: Cleaning up multiply-defined-symbol warnings on OS X