Re: Process wakeups when idle and power consumption

Поиск
Список
Период
Сортировка
Искать
От
Magnus Hagander
Тема
Re: Process wakeups when idle and power consumption
Дата
в 05:55:44
Msg-id
BANLkTikWfZTJgBc1umV4M+n-x5ig6f8Bzg@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Process wakeups when idle and power consumption Peter Geoghegan <peter@2ndquadrant.com>
Re: Process wakeups when idle and power consumption Alvaro Herrera <alvherre@commandprompt.com>
Re: Process wakeups when idle and power consumption "A.M." <agentm@themactionfaction.com>
Re: Process wakeups when idle and power consumption Tom Lane <tgl@sss.pgh.pa.us>
Re: Process wakeups when idle and power consumption Peter Geoghegan <peter@2ndquadrant.com>
Re: Process wakeups when idle and power consumption Tom Lane <tgl@sss.pgh.pa.us>
Re: Process wakeups when idle and power consumption Peter Geoghegan <peter@2ndquadrant.com>
Re: Process wakeups when idle and power consumption Tom Lane <tgl@sss.pgh.pa.us>
Re: Process wakeups when idle and power consumption Peter Geoghegan <peter@2ndquadrant.com>
Re: Process wakeups when idle and power consumption Peter Geoghegan <peter@2ndquadrant.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 Fujii Masao <masao.fujii@gmail.com>
Re: Process wakeups when idle and power consumption Peter Geoghegan <peter@2ndquadrant.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 Peter Geoghegan <peter@2ndquadrant.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>
Re: Process wakeups when idle and power consumption Simon Riggs <simon@2ndQuadrant.com>
Re: Process wakeups when idle and power consumption Tom Lane <tgl@sss.pgh.pa.us>
Re: Process wakeups when idle and power consumption Peter Geoghegan <peter@2ndquadrant.com>
Re: Process wakeups when idle and power consumption Magnus Hagander <magnus@hagander.net>
Re: Process wakeups when idle and power consumption Peter Geoghegan <peter@2ndquadrant.com>
Re: Process wakeups when idle and power consumption Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Process wakeups when idle and power consumption Robert Haas <robertmhaas@gmail.com>
Re: Process wakeups when idle and power consumption Robert Haas <robertmhaas@gmail.com>
Re: Process wakeups when idle and power consumption Robert Haas <robertmhaas@gmail.com>
Re: Process wakeups when idle and power consumption Tom Lane <tgl@sss.pgh.pa.us>
Re: Process wakeups when idle and power consumption Peter Geoghegan <peter@2ndquadrant.com>
Re: Process wakeups when idle and power consumption Tom Lane <tgl@sss.pgh.pa.us>
On Wed, May 11, 2011 at 10:52, Peter Geoghegan  wrote:
> On 9 May 2011 11:19, Heikki Linnakangas
>  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.

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...

-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

В списке pgsql-hackers по дате отправления
От: Heikki Linnakangas
Дата:
От: tv@fuzzy.cz
Дата:
FAQ