Re: Process wakeups when idle and power consumption

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Process wakeups when idle and power consumption
Дата
Msg-id BANLkTikTaYEn8stT_89Z0P6HAB_QZL0bCA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Process wakeups when idle and power consumption  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Process wakeups when idle and power consumption
Список pgsql-hackers
On 9 May 2011 11:19, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:

> Can't we use the pipe trick on Windows? The API is different, but we use
> pipes on Windows for other things already. When a process is launched, open
> a pipe between postmaster and the child process. In the child, spawn a
> thread that just calls ReadFile() on the pipe, which blocks. If postmaster
> dies, the ReadFile() call will return with an error.

Alright. I'm currently working on a proof-of-concept implementation of
that. In the meantime, any thoughts on how this should meld with the
existing latch implementation?

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


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

Предыдущее
От: Gabriele Bartolini
Дата:
Сообщение: Re: Proposed patch: Smooth replication during VACUUM FULL
Следующее
От: Robert Haas
Дата:
Сообщение: Re: superusers are members of all roles?