Change win32 child-death tracking code to use a threadpool to wait for

Magnus Hagander <magnus@hagander.net>

Commit: bb98b2e27ec35019f00217335e248ee68d17946a
Author: Magnus Hagander <magnus@hagander.net>
Date: 2007-10-26T21:50:10Z
Releases: 8.3.0
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.

Files

PathChange+/−
src/backend/postmaster/postmaster.c modified +79 −171
src/include/port/win32.h modified +2 −1