aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/proc.h')
-rw-r--r--src/include/storage/proc.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h
index 6290e83d50f..72e2aafd425 100644
--- a/src/include/storage/proc.h
+++ b/src/include/storage/proc.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: proc.h,v 1.40 2001/02/26 00:50:08 tgl Exp $
+ * $Id: proc.h,v 1.41 2001/03/22 04:01:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,7 +18,7 @@
#include "storage/lock.h"
/* configurable option */
-extern int DeadlockTimeout;
+extern int DeadlockTimeout;
typedef struct
{
@@ -50,9 +50,10 @@ struct proc
* were starting our xact: vacuum must not
* remove tuples deleted by xid >= xmin ! */
- /* XLOG location of first XLOG record written by this backend's current
- * transaction. If backend is not in a transaction or hasn't yet modified
- * anything, logRec.xrecoff is zero.
+ /*
+ * XLOG location of first XLOG record written by this backend's
+ * current transaction. If backend is not in a transaction or hasn't
+ * yet modified anything, logRec.xrecoff is zero.
*/
XLogRecPtr logRec;
@@ -68,8 +69,8 @@ struct proc
Oid databaseId; /* OID of database this backend is using */
short sLocks[MAX_SPINS]; /* Spin lock stats */
- SHM_QUEUE procHolders; /* list of HOLDER objects for locks held or
- * awaited by this backend */
+ SHM_QUEUE procHolders; /* list of HOLDER objects for locks held
+ * or awaited by this backend */
};
/* NOTE: "typedef struct proc PROC" appears in storage/lock.h. */
@@ -132,7 +133,7 @@ extern bool ProcRemove(int pid);
extern void ProcQueueInit(PROC_QUEUE *queue);
extern int ProcSleep(LOCKMETHODTABLE *lockMethodTable, LOCKMODE lockmode,
- LOCK *lock, HOLDER *holder);
+ LOCK *lock, HOLDER *holder);
extern PROC *ProcWakeup(PROC *proc, int errType);
extern void ProcLockWakeup(LOCKMETHODTABLE *lockMethodTable, LOCK *lock);
extern void ProcReleaseSpins(PROC *proc);