PostgreSQL Source Code: LOCK Struct Reference (original) (raw)
#include <[lock.h](lock%5F8h%5Fsource.html)>
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 |
Definition at line 309 of file lock.h.
◆ granted
◆ grantMask
◆ nGranted
◆ nRequested
◆ procLocks
◆ requested
◆ tag
Definition at line 312 of file lock.h.
Referenced by CheckDeadLock(), CleanUpLock(), FindLockCycleRecurseMember(), GetLockStatusData(), GetRunningTransactionLocks(), GetSingleProcBlockerStatusData(), lock_twophase_recover(), LockReleaseAll(), PostPrepare_Locks(), proclock_hash(), ProcSleep(), RememberSimpleDeadLock(), and SetupLockInTable().
◆ waitMask
◆ waitProcs
Definition at line 318 of file lock.h.
Referenced by DeadLockCheck(), ExpandConstraints(), FindLockCycleRecurseMember(), GetSingleProcBlockerStatusData(), JoinWaitQueue(), lock_twophase_recover(), ProcLockWakeup(), ProcWakeup(), RemoveFromWaitQueue(), SetupLockInTable(), and TopoSort().
The documentation for this struct was generated from the following file:
- src/include/storage/lock.h