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

From [email protected] (Magnus Hagander)
Subject pgsql: Change win32 child-death tracking code to use a threadpool to
Date
Msg-id [email protected]
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: [email protected] (User Dpage)
Date:
Subject: pginstaller - pginst: Couple o' minor fixes.
Next
From: [email protected] (Peter Eisentraut)
Date:
Subject: pgsql: Translation updates