pgsql: Change win32 child-death tracking code to use a threadpool to

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change win32 child-death tracking code to use a threadpool to
Date: 2007-10-26 21:50:10
Message-ID: 20071026215010.54B73754229@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Change win32 child-death tracking code to use a threadpool to wait for
childprocess deaths instead of using one thread per child. This drastastically
reduces the address space usage and should allow for more backends running.

Also change the win32_waitpid functionality to use an IO Completion Port for
queueing child death notices instead of using a fixed-size array.

Modified Files:
--------------
pgsql/src/backend/postmaster:
postmaster.c (r1.542 -> r1.543)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=1.542&r2=1.543)
pgsql/src/include/port:
win32.h (r1.76 -> r1.77)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/port/win32.h?r1=1.76&r2=1.77)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2007-10-27 00:13:43 pgsql: Translation updates
Previous Message Alvaro Herrera 2007-10-26 20:50:31 Re: Autovacuum cancellation