Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-bugs by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group