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

Re: [patch] src/include/storage/s_lock.h

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Brent Verner <brent(at)rcfile(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: [patch] src/include/storage/s_lock.h
Date: 2001-01-02 07:30:07
Message-ID: 200101020730.CAA14847@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Can someone comment on this?  It looks OK to me.

> hi,
> 
>   This is a revised patch that I sent earlier to allow building
> pg-7.1 with gcc as well as DEC's cc. I've had good results with this
> applied. Could some other Alpha users try this out. Even better, could
> an Alpha asm guru look over the asm that I'm using (instead of the
> original asm in the file).
> 
> in brief:
>   the original s_lock.h file tested for __alpha and __osf__ to use
> the builtin __INTERLOCKED_BITSS_QUAD for our TAS. I've changed this
> to check for the DEC compiler (__DECC || __DECCXX), removed the
> __asm__(...) which appeared to be gcc-specific, and moved the whole
> #if (__alpha) block inside the #else of #if defined(__GNUC__).
> 
>   brent
> 

[ Attachment, skipping... ]


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2001-01-02 07:34:11
Subject: Re: [patch] src/include/storage/s_lock.h
Previous:From: Bruce MomjianDate: 2001-01-02 07:16:53
Subject: Re: [INTERFACES] Re: PHP and PostgreSQL

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-01-02 07:34:11
Subject: Re: [patch] src/include/storage/s_lock.h
Previous:From: Bruce MomjianDate: 2001-01-02 02:19:28
Subject: Re: RE: SSL Connections [doc PATCH]

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