aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/latch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/latch.h')
-rw-r--r--src/include/storage/latch.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/include/storage/latch.h b/src/include/storage/latch.h
index 2c697741e4d..0c0b01ca19c 100644
--- a/src/include/storage/latch.h
+++ b/src/include/storage/latch.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/latch.h,v 1.1 2010/09/11 15:48:04 heikki Exp $
+ * $PostgreSQL: pgsql/src/include/storage/latch.h,v 1.2 2010/09/15 10:06:21 heikki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -25,9 +25,8 @@ typedef struct
{
sig_atomic_t is_set;
bool is_shared;
-#ifndef WIN32
int owner_pid;
-#else
+#ifdef WIN32
HANDLE event;
#endif
} Latch;
@@ -46,9 +45,6 @@ extern void SetLatch(volatile Latch *latch);
extern void ResetLatch(volatile Latch *latch);
#define TestLatch(latch) (((volatile Latch *) latch)->is_set)
-extern Size LatchShmemSize(void);
-extern void LatchShmemInit(void);
-
/*
* Unix implementation uses SIGUSR1 for inter-process signaling, Win32 doesn't
* need this.