From: | Peter Geoghegan <peter(at)2ndquadrant(dot)com> |
---|---|
To: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
Cc: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Process wakeups when idle and power consumption |
Date: | 2011-05-10 11:39:03 |
Message-ID: | BANLkTi=tqfp7ioy4sUxE-Am5Bk=v3=o8bg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Attached is win32 implementation of the "named pipe trick".
It consists of a Visual Studio 2008 solution that contains two
projects, named_pipe_trick (which represents the postmaster) and
auxiliary_backend (which represents each auxiliary process). I split
the solution into two projects/programs because Windows lacks fork()
to make it all happen with a single program.
Thoughts? Once I have some buy-in, I'd like to write a patch for the
latch code that incorporates monitoring the postmaster using the named
pipe trick (for both unix_latch.c and win32_latch.c), plus Heikki's
suggestions.
--
Peter Geoghegan http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services
Attachment | Content-Type | Size |
---|---|---|
named_pipe_trick.zip | application/zip | 9.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-05-10 11:45:57 | Re: Process wakeups when idle and power consumption |
Previous Message | Mark | 2011-05-10 10:21:39 | ts_rank |