Re: PostgreSQL for VAX on NetBSD/OpenBSD

From: Thor Lancelot Simon <tls(at)panix(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Greg Stark <stark(at)mit(dot)edu>, John Klos <john(at)ziaspace(dot)com>, port-vax(at)netbsd(dot)org, vax(at)openbsd(dot)org, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PostgreSQL for VAX on NetBSD/OpenBSD
Date: 2014-07-17 13:27:33
Message-ID: 20140717132733.GB28315@panix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jul 17, 2014 at 07:47:28AM -0400, Robert Haas wrote:
> On Wed, Jul 16, 2014 at 11:45 PM, Thor Lancelot Simon <tls(at)panix(dot)com> wrote:
> > Well, I have to ask this question: why should there be any "vax-specific
> > code"? What facilities beyond what POSIX with the threading extensions
> > offers on a modern system do you really need? Why?
>
> We have a spinlock implementation. When spinlocks are not available,
> we have to fall back to using semaphores, which is much slower.

Neither pthread_mutex nor pthread_rwlock suffices?

Is the spinlock implementation in terms of the primitives provided by
atomic.h? Could it be? If so there should really be nothing unusual
about the VAX platform except the FPU.

Thor

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2014-07-17 13:34:24 Re: Doing better at HINTing an appropriate column within errorMissingColumn()
Previous Message Robert Haas 2014-07-17 11:47:28 Re: PostgreSQL for VAX on NetBSD/OpenBSD