Re: Process wakeups when idle and power consumption

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Process wakeups when idle and power consumption
Дата
Msg-id BANLkTimneE7F=hXmrEFJatkSYuFiEyvSKw@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  (Peter Geoghegan <peter@2ndquadrant.com>)
Re: Process wakeups when idle and power consumption  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 10 May 2011 09:45, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:

> I think we need to refactor the function into something like:
>
> #define WL_LATCH_SET    1
> #define WL_SOCKET_READABLE 2
> #define WL_SOCKET_WRITEABLE 4
> #define WL_TIMEOUT      8
> #define WL_POSTMASTER_DEATH 16

While I agree with the need to not box ourselves into a corner on the
latch interface by making sweeping assumptions, isn't the fact that a
socket became readable or writable strictly an implementation detail?

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


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

Предыдущее
От: Pavan Deolasee
Дата:
Сообщение: Re: Formatting Curmudgeons WAS: MMAP Buffers
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Process wakeups when idle and power consumption