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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(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-27 22:47:01
Message-ID: 16374.1146178021@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

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.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-04-27 23:02:06 Re: [BUGS] BUG #2401: spinlocks not available on amd64
Previous Message Bruce Momjian 2006-04-27 22:31:34 Re: [BUGS] BUG #2401: spinlocks not available on amd64

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-04-27 23:02:06 Re: [BUGS] BUG #2401: spinlocks not available on amd64
Previous Message Bruce Momjian 2006-04-27 22:31:34 Re: [BUGS] BUG #2401: spinlocks not available on amd64