Re: Process wakeups when idle and power consumption
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Geoghegan <peter@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2011-05-05T20:56:08Z
Lists: pgsql-hackers
On Thu, May 5, 2011 at 4:05 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> + * The caveat about signals invalidating the timeout of >> + * WaitLatch() on some platforms can be safely disregarded, > > Really? I'm a bit confused by the phrasing of this comment as well, but it does seem to me that if all the relevant signal handlers set the latch, then it ought not to be necessary to break the sleep down into one-second intervals. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company