Обсуждение: pgsql: Change win32 child-death tracking code to use a threadpool to

Поиск
Список
Период
Сортировка

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

От
mha@postgresql.org (Magnus Hagander)
Дата:
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)