Thread: Re: [COMMITTERS] pgsql: Native shared memory implementation for win32.

Re: [COMMITTERS] pgsql: Native shared memory implementation for win32.

From
Tom Lane
Date:
mha@postgresql.org (Magnus Hagander) writes:
> Native shared memory implementation for win32.
> Uses same underlying tech as before, but not the sysv emulation layer.

Actually, I was wondering whether the cygwin port could use this new
code too, so that we could get rid of the __CYGWIN__ kluges in
sysv_shmem.c.  This patch seems not to do that.
        regards, tom lane


Re: [COMMITTERS] pgsql: Native shared memory implementation for win32.

From
Magnus Hagander
Date:
On Wed, Mar 21, 2007 at 11:15:46AM -0400, Tom Lane wrote:
> mha@postgresql.org (Magnus Hagander) writes:
> > Native shared memory implementation for win32.
> > Uses same underlying tech as before, but not the sysv emulation layer.
> 
> Actually, I was wondering whether the cygwin port could use this new
> code too, so that we could get rid of the __CYGWIN__ kluges in
> sysv_shmem.c.  This patch seems not to do that.

I don't think it should. Cygwin in general is supposed to be Unix-like and
not Win32-like. For example, IIRC it does not use the native win32
implementation of semaphores either.

//Magnus