Re: POSIX shared memory support

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: POSIX shared memory support
Дата
Msg-id 20080331222332.697da90e@mha-laptop
обсуждение исходный текст
Ответ на Re: POSIX shared memory support  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
> > James Mansion wrote:
> >> (confused) Why can't you use mmap of /dev/zero and inherit the fd
> >> into child processes?
> 
> > This is what we do on win32 today. We don't use the sysv emulation
> > layer anymore.
> 
> Did we ever find an interlock that makes the win32 implementation
> safe against the postmaster-dead-children-still-alive scenario?

Yes. I don't remember the details offhand (and I'm at the airport right
now), but the code that I put in there passed all those checks that we
could think of. (The one that the old, sysv emulating, code didn't as
well)

//Magnus


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgkill
Следующее
От: "korry"
Дата:
Сообщение: Re: [GENERAL] Connection to PostgreSQL Using Certificate: Wrong Permissions on Private Key File