1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Native shared memory implementation for win32.

Uses same underlying tech as before, but not the sysv emulation layer.
This commit is contained in:
Magnus Hagander
2007-03-21 14:39:23 +00:00
parent 3b765dba78
commit 18d82d03b5
7 changed files with 310 additions and 151 deletions

10
configure vendored
View File

@ -22278,13 +22278,21 @@ fi
# Select shared-memory implementation type.
if test "$PORTNAME" != "win32"; then
cat >>confdefs.h <<\_ACEOF
#define USE_SYSV_SHARED_MEMORY 1
_ACEOF
SHMEM_IMPLEMENTATION="src/backend/port/sysv_shmem.c"
SHMEM_IMPLEMENTATION="src/backend/port/sysv_shmem.c"
else
cat >>confdefs.h <<\_ACEOF
#define USE_WIN32_SHARED_MEMORY 1
_ACEOF
SHMEM_IMPLEMENTATION="src/backend/port/win32_shmem.c"
fi
# If not set in template file, set bytes to use libc memset()
if test x"$MEMSET_LOOP_LIMIT" = x"" ; then