Re: OK, lets talk portability.

From: "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, mlw <markw(at)mohawksoft(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: OK, lets talk portability.
Date: 2002-05-07 16:10:13
Message-ID: 20020507130915.B32524-100000@mail1.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 7 May 2002, Hannu Krosing wrote:

> On Tue, 2002-05-07 at 15:31, Tom Lane wrote:
> > mlw <markw(at)mohawksoft(dot)com> writes:
> > > In the current CVS directory, there is pgsql/src/backend/port directory.
> >
> > > I propose that this become a separate subproject and library.
> >
> > Right offhand, that seems a pointless exercise in relabeling code that's
> > going to be the same either way. What's the actual value?
> >
> > > The reason I want this is because the semaphore support, specifically
> > > multiple semaphores identified by a single key, has to be implemented
> > > with shared memory and multiple semaphores. (Under Windows)
> >
> > I think you are confusing issues that are now private to the SysV sema
> > implementation with things that you really need to do for Windows.
> > Take a look at port/posix_sema.c for a less cluttered view of the
> > semantics you actually need to support. (I don't suppose there's any
> > chance that Gates & Co support POSIX semas, leaving you with no work?)
>
> A quick google search came up with
>
> http://sources.redhat.com/pthreads-win32/announcement.html
>
>
> Unfortunately it seems to be the "wrong kind of free" software:
>
> Pthreads-win32 is free software, distributed under the GNU Lesser
> General Public License (LGPL).
>
> Or can we accept dependancies on LGPL libs for some ports.

What someone installs on their Windows box is their problem ... doesn't
mean we can't make use of it :) Its not something that will be part of
the distribution itself, only something that needs to be availble :)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2002-05-07 16:19:59 Re: pg_sema.h
Previous Message Kovacs Zoltan 2002-05-07 15:57:05 7.1.3: pg_dump hierarchy problem