]> granicus.if.org Git - postgresql/commit
Create an internal semaphore API that is not tied to SysV semaphores.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 May 2002 00:03:29 +0000 (00:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 May 2002 00:03:29 +0000 (00:03 +0000)
commit72a3902a664c7fbceb2034e28e444b28f96fa717
treeff42e4494af6ea1c1cdf524f3feb5fc670217f0c
parent91fc10fdacfcbadc123fd9d8ee16a4568f8c636b
Create an internal semaphore API that is not tied to SysV semaphores.
As proof of concept, provide an alternate implementation based on POSIX
semaphores.  Also push the SysV shared-memory implementation into a
separate file so that it can be replaced conveniently.
37 files changed:
configure
configure.in
src/backend/Makefile
src/backend/bootstrap/bootstrap.c
src/backend/catalog/namespace.c
src/backend/commands/async.c
src/backend/libpq/auth.c
src/backend/libpq/pqcomm.c
src/backend/port/Makefile
src/backend/port/posix_sema.c [new file with mode: 0644]
src/backend/port/sysv_sema.c [new file with mode: 0644]
src/backend/port/sysv_shmem.c [new file with mode: 0644]
src/backend/postmaster/pgstat.c
src/backend/postmaster/postmaster.c
src/backend/storage/file/fd.c
src/backend/storage/ipc/ipc.c
src/backend/storage/ipc/ipci.c
src/backend/storage/ipc/shmem.c
src/backend/storage/ipc/sinvaladt.c
src/backend/storage/lmgr/lwlock.c
src/backend/storage/lmgr/proc.c
src/backend/storage/lmgr/spin.c
src/backend/tcop/postgres.c
src/backend/utils/error/elog.c
src/backend/utils/init/miscinit.c
src/backend/utils/init/postinit.c
src/include/miscadmin.h
src/include/pg_config.h.in
src/include/storage/ipc.h
src/include/storage/pg_sema.h [new file with mode: 0644]
src/include/storage/pg_shmem.h [new file with mode: 0644]
src/include/storage/proc.h
src/include/storage/s_lock.h
src/include/storage/spin.h
src/pl/plperl/SPI.xs
src/pl/plperl/plperl.c
src/template/darwin