Re: PostgreSQL for VAX on NetBSD/OpenBSD

Поиск
Список
Период
Сортировка
От Thor Lancelot Simon
Тема Re: PostgreSQL for VAX on NetBSD/OpenBSD
Дата
Msg-id 20140717132733.GB28315@panix.com
обсуждение исходный текст
Ответ на Re: PostgreSQL for VAX on NetBSD/OpenBSD  (Robert Haas <robertmhaas@gmail.com>)
Список 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@panix.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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Making joins involving ctid work for the benefit of UPSERT
Следующее
От: Johnny Billquist
Дата:
Сообщение: Re: PostgreSQL for VAX on NetBSD/OpenBSD