Re: [BUGS] BUG #2401: spinlocks not available on amd64 - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [BUGS] BUG #2401: spinlocks not available on amd64
Date
Msg-id 200604280343.k3S3hSU10026@candle.pha.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #2401: spinlocks not available on amd64  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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. +

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Cleaning up multiply-defined-symbol warnings on OS X
Next
From: Kris Jurka
Date:
Subject: Re: [BUGS] BUG #2401: spinlocks not available on amd64