PostgreSQL Source Code
git master
|
#include <lock.h>
Data Fields | |
LOCALLOCKTAG | tag |
uint32 | hashcode |
LOCK * | lock |
PROCLOCK * | proclock |
int64 | nLocks |
int | numLockOwners |
int | maxLockOwners |
LOCALLOCKOWNER * | lockOwners |
bool | holdsStrongLockCount |
bool | lockCleared |
uint32 LOCALLOCK::hashcode |
Definition at line 432 of file lock.h.
Referenced by AbortStrongLockAcquire(), FastPathGetRelationLockEntry(), JoinWaitQueue(), LockAcquireExtended(), LockErrorCleanup(), LockHasWaiters(), LockRelease(), ProcSleep(), and RemoveLocalLock().
bool LOCALLOCK::holdsStrongLockCount |
Definition at line 439 of file lock.h.
Referenced by AbortStrongLockAcquire(), AtPrepare_Locks(), BeginStrongLockAcquire(), LockAcquireExtended(), and RemoveLocalLock().
LOCK* LOCALLOCK::lock |
Definition at line 433 of file lock.h.
Referenced by AtPrepare_Locks(), JoinWaitQueue(), LockAcquireExtended(), LockHasWaiters(), LockRelease(), LockReleaseAll(), PostPrepare_Locks(), and ProcSleep().
bool LOCALLOCK::lockCleared |
Definition at line 440 of file lock.h.
Referenced by LockAcquireExtended(), LockRelease(), and MarkLockClear().
LOCALLOCKOWNER* LOCALLOCK::lockOwners |
Definition at line 438 of file lock.h.
Referenced by AtPrepare_Locks(), CheckForSessionAndXactLocks(), GrantLockLocal(), LockAcquireExtended(), LockReassignOwner(), LockRelease(), LockReleaseAll(), PostPrepare_Locks(), ReleaseLockIfHeld(), and RemoveLocalLock().
int LOCALLOCK::maxLockOwners |
Definition at line 437 of file lock.h.
Referenced by GrantLockLocal(), and LockAcquireExtended().
int64 LOCALLOCK::nLocks |
Definition at line 435 of file lock.h.
Referenced by AtPrepare_Locks(), CheckForSessionAndXactLocks(), GrantLockLocal(), LockAcquireExtended(), LockHasWaiters(), LockHeldByMe(), LockRelease(), LockReleaseAll(), MarkLockClear(), PostPrepare_Locks(), and ReleaseLockIfHeld().
int LOCALLOCK::numLockOwners |
Definition at line 436 of file lock.h.
Referenced by AtPrepare_Locks(), CheckForSessionAndXactLocks(), GrantLockLocal(), LockAcquireExtended(), LockReassignOwner(), LockRelease(), LockReleaseAll(), PostPrepare_Locks(), ReleaseLockIfHeld(), and RemoveLocalLock().
PROCLOCK* LOCALLOCK::proclock |
Definition at line 434 of file lock.h.
Referenced by AtPrepare_Locks(), JoinWaitQueue(), LockAcquireExtended(), LockHasWaiters(), LockRelease(), LockReleaseAll(), and PostPrepare_Locks().
LOCALLOCKTAG LOCALLOCK::tag |
Definition at line 429 of file lock.h.
Referenced by AtPrepare_Locks(), CheckForSessionAndXactLocks(), FastPathGetRelationLockEntry(), JoinWaitQueue(), LockReleaseAll(), PostPrepare_Locks(), ProcSleep(), ReleaseLockIfHeld(), RemoveLocalLock(), and WaitOnLock().