aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/spin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/spin.h')
-rw-r--r--src/include/storage/spin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/storage/spin.h b/src/include/storage/spin.h
index 7c57f2fa624..656e1097a23 100644
--- a/src/include/storage/spin.h
+++ b/src/include/storage/spin.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: spin.h,v 1.11 2000/01/26 05:58:33 momjian Exp $
+ * $Id: spin.h,v 1.12 2000/05/31 00:28:38 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -28,6 +28,10 @@
typedef int SPINLOCK;
+#ifdef LOCK_DEBUG
+extern bool Trace_spinlocks;
+#endif
+
extern void CreateSpinlocks(IPCKey key);
extern void InitSpinLocks(void);
extern void SpinAcquire(SPINLOCK lockid);