OSDN Git Service

Redesign the patch for allocation of shmem space and LWLocks for add-on
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 15 Oct 2006 22:04:08 +0000 (22:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 15 Oct 2006 22:04:08 +0000 (22:04 +0000)
commite0dece127db86f40cdcf1fa63441eac93a1ba5ff
tree1713a636909c4a8cd14a7b84daef54955cf05e85
parenta3dff39c53bddf633bc0ba2ab3dc8681be50d6bf
Redesign the patch for allocation of shmem space and LWLocks for add-on
modules; the first try was not usable in EXEC_BACKEND builds (e.g.,
Windows).  Instead, just provide some entry points to increase the
allocation requests during postmaster start, and provide a dedicated
LWLock that can be used to synchronize allocation operations performed
by backends.  Per discussion with Marc Munro.
src/backend/storage/ipc/ipci.c
src/backend/storage/ipc/shmem.c
src/backend/storage/lmgr/lwlock.c
src/include/storage/lwlock.h
src/include/storage/pg_shmem.h
src/include/storage/shmem.h