Re: Process wakeups when idle and power consumption

Peter Geoghegan <peter@2ndquadrant.com>

From: Peter Geoghegan <peter@2ndquadrant.com>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2011-05-11T08:52:26Z
Lists: pgsql-hackers
On 9 May 2011 11:19, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:

> In the child, spawn a thread

How exactly should I go about this? The one place in the code that I
knew to use multiple threads, pgbench, falls back on "emulation with
fork()" on some platforms.

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