PostgreSQL Source Code: LWLock Struct Reference (original) (raw)

#include <[lwlock.h](lwlock%5F8h%5Fsource.html)>

Data Fields
uint16 tranche
pg_atomic_uint32 state
proclist_head waiters

Detailed Description

Field Documentation

state

Definition at line 44 of file lwlock.h.

Referenced by LWLockAcquire(), LWLockAttemptLock(), LWLockConflictsWithVar(), LWLockDequeueSelf(), LWLockInitialize(), LWLockQueueSelf(), LWLockReleaseInternal(), LWLockUpdateVar(), LWLockWaitForVar(), LWLockWaitListLock(), LWLockWaitListUnlock(), and LWLockWakeup().

tranche

waiters


The documentation for this struct was generated from the following file: