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

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Change win32 child-death tracking code to use a threadpool to
Date
Msg-id 20071026215010.54B73754229@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: dpage@pgfoundry.org (User Dpage)
Date:
Subject: pginstaller - pginst: Couple o' minor fixes.
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Translation updates