diff options
Diffstat (limited to 'src/include/storage/proc.h')
-rw-r--r-- | src/include/storage/proc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index b31b0bfe002..eb633714b86 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: proc.h,v 1.58 2002/07/13 01:02:14 momjian Exp $ + * $Id: proc.h,v 1.59 2002/07/19 00:17:40 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -61,12 +61,12 @@ struct PGPROC /* Info about lock the process is currently waiting for, if any. */ /* waitLock and waitHolder are NULL if not currently waiting. */ LOCK *waitLock; /* Lock object we're sleeping on ... */ - HOLDER *waitHolder; /* Per-holder info for awaited lock */ + PROCLOCK *waitHolder; /* Per-holder info for awaited lock */ LOCKMODE waitLockMode; /* type of lock we're waiting for */ LOCKMASK heldLocks; /* bitmask for lock types already held on * this lock object by this backend */ - SHM_QUEUE procHolders; /* list of HOLDER objects for locks held + SHM_QUEUE procHolders; /* list of PROCLOCK objects for locks held * or awaited by this backend */ }; @@ -101,7 +101,7 @@ extern void ProcReleaseLocks(bool isCommit); extern void ProcQueueInit(PROC_QUEUE *queue); extern int ProcSleep(LOCKMETHODTABLE *lockMethodTable, LOCKMODE lockmode, - LOCK *lock, HOLDER *holder); + LOCK *lock, PROCLOCK *holder); extern PGPROC *ProcWakeup(PGPROC *proc, int errType); extern void ProcLockWakeup(LOCKMETHODTABLE *lockMethodTable, LOCK *lock); extern bool LockWaitCancel(void); |