diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-05-05 00:03:29 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-05-05 00:03:29 +0000 |
| commit | 72a3902a664c7fbceb2034e28e444b28f96fa717 (patch) | |
| tree | ff42e4494af6ea1c1cdf524f3feb5fc670217f0c /src/backend/storage/ipc/shmem.c | |
| parent | 91fc10fdacfcbadc123fd9d8ee16a4568f8c636b (diff) | |
| download | postgresql-72a3902a664c7fbceb2034e28e444b28f96fa717.tar.gz | |
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.
Diffstat (limited to 'src/backend/storage/ipc/shmem.c')
| -rw-r--r-- | src/backend/storage/ipc/shmem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/storage/ipc/shmem.c b/src/backend/storage/ipc/shmem.c index f9056ae375..3b558f528f 100644 --- a/src/backend/storage/ipc/shmem.c +++ b/src/backend/storage/ipc/shmem.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.64 2002/03/06 06:10:05 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.65 2002/05/05 00:03:28 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -61,6 +61,7 @@ #include "postgres.h" #include "access/transam.h" +#include "storage/pg_shmem.h" #include "storage/spin.h" #include "utils/tqual.h" |
