Re: Process wakeups when idle and power consumption

Peter Geoghegan <peter@2ndquadrant.com>

From: Peter Geoghegan <peter@2ndquadrant.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2011-05-10T08:22:34Z
Lists: pgsql-hackers
On 10 May 2011 02:58, Fujii Masao <masao.fujii@gmail.com> wrote:
>> 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?
>
> How about making WaitLatch monitor the file descriptor for the pipe
> by using select()?

Alright, so it's reasonable to assume that all clients of the latch
code are happy to be invariably woken up on Postmaster death?

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