Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group