Re: Process wakeups when idle and power consumption

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Process wakeups when idle and power consumption
Дата
Msg-id BANLkTimbnxK6rGX96XcZ_ta18fZYt5OiDg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Process wakeups when idle and power consumption  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Process wakeups when idle and power consumption
Список pgsql-hackers
On 11 May 2011 09:54, Magnus Hagander <magnus@hagander.net> wrote:

> If you're doing this Win32 specific, take a look at
> src/backend/port/win32/signal.c for an example.
>
> If you're not doing this win32-specific, I doubt we really want
> threads to be involved...

Well, that seems to be the traditional wisdom. It seems sensible to me
that each process should look out for postmaster death itself though.
Tom described potential race conditions in looking at ps output...do
we really want to double the number of auxiliary processes in a single
release of Postgres?

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


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

Предыдущее
От: Szymon Guz
Дата:
Сообщение: Re: potential bug in trigger with boolean params
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Process wakeups when idle and power consumption