PostgreSQL Source Code
git master
|
#include <lock.h>
Data Fields | |
LOCKTAG | tag |
LOCKMASK | grantMask |
LOCKMASK | waitMask |
dlist_head | procLocks |
dclist_head | waitProcs |
int | requested [MAX_LOCKMODES] |
int | nRequested |
int | granted [MAX_LOCKMODES] |
int | nGranted |
int LOCK::granted[MAX_LOCKMODES] |
Definition at line 320 of file lock.h.
Referenced by GrantLock(), lock_twophase_recover(), LockCheckConflicts(), RemoveFromWaitQueue(), SetupLockInTable(), and UnGrantLock().
LOCKMASK LOCK::grantMask |
Definition at line 314 of file lock.h.
Referenced by GrantLock(), lock_twophase_recover(), LockCheckConflicts(), LockReleaseAll(), PostPrepare_Locks(), SetupLockInTable(), and UnGrantLock().
int LOCK::nGranted |
Definition at line 321 of file lock.h.
Referenced by GrantLock(), lock_twophase_recover(), LockAcquireExtended(), LockReleaseAll(), PostPrepare_Locks(), RemoveFromWaitQueue(), SetupLockInTable(), and UnGrantLock().
int LOCK::nRequested |
Definition at line 319 of file lock.h.
Referenced by CleanUpLock(), GrantLock(), lock_twophase_recover(), LockAcquireExtended(), LockReleaseAll(), LockWaiterCount(), PostPrepare_Locks(), RemoveFromWaitQueue(), SetupLockInTable(), and UnGrantLock().
dlist_head LOCK::procLocks |
Definition at line 316 of file lock.h.
Referenced by CleanUpLock(), FindLockCycleRecurseMember(), GetLockConflicts(), GetSingleProcBlockerStatusData(), lock_twophase_recover(), LockCheckConflicts(), ProcSleep(), and SetupLockInTable().
int LOCK::requested[MAX_LOCKMODES] |
Definition at line 318 of file lock.h.
Referenced by GrantLock(), lock_twophase_recover(), LockAcquireExtended(), RemoveFromWaitQueue(), SetupLockInTable(), and UnGrantLock().
LOCKTAG LOCK::tag |
Definition at line 311 of file lock.h.
Referenced by CheckDeadLock(), CleanUpLock(), FindLockCycleRecurseMember(), GetLockStatusData(), GetRunningTransactionLocks(), GetSingleProcBlockerStatusData(), lock_twophase_recover(), LockReleaseAll(), PostPrepare_Locks(), proclock_hash(), ProcSleep(), RememberSimpleDeadLock(), and SetupLockInTable().
LOCKMASK LOCK::waitMask |
Definition at line 315 of file lock.h.
Referenced by GrantLock(), lock_twophase_recover(), LockAcquireExtended(), LockHasWaiters(), ProcSleep(), RemoveFromWaitQueue(), SetupLockInTable(), and UnGrantLock().
dclist_head LOCK::waitProcs |
Definition at line 317 of file lock.h.
Referenced by DeadLockCheck(), ExpandConstraints(), FindLockCycleRecurseMember(), GetSingleProcBlockerStatusData(), lock_twophase_recover(), ProcLockWakeup(), ProcSleep(), ProcWakeup(), RemoveFromWaitQueue(), SetupLockInTable(), and TopoSort().