Re: POSIX shared memory support

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: POSIX shared memory support
Дата
Msg-id 20080331220757.6642227a@mha-laptop
обсуждение исходный текст
Ответ на Re: POSIX shared memory support  (James Mansion <james@mansionfamily.plus.com>)
Ответы Re: POSIX shared memory support  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
James Mansion wrote:
> Tom Lane wrote:
> > Yeah, I would be far more interested in this patch if it avoided
> > needing SysV shmem at all.  The problem is to find an adequate
> > substitute for the nattch-based interlock against live children of
> > a dead postmaster.
> >
> >   
> (confused) Why can't you use mmap of /dev/zero and inherit the fd
> into child processes?
> (simple enough to do something similar on Win32, even if the
> mechanism isn't identical)

This is what we do on win32 today. We don't use the sysv emulation
layer anymore.

//Magnus


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgkill
Следующее
От: Tom Lane
Дата:
Сообщение: Re: POSIX shared memory support