PostgreSQL Source Code: Latch Struct Reference (original) (raw)
#include <[latch.h](latch%5F8h%5Fsource.html)>
Data Fields | |
---|---|
sig_atomic_t | is_set |
sig_atomic_t | maybe_sleeping |
bool | is_shared |
int | owner_pid |
Detailed Description
Definition at line 113 of file latch.h.
Field Documentation
◆ is_set
sig_atomic_t Latch::is_set
Definition at line 115 of file latch.h.
Referenced by InitLatch(), InitSharedLatch(), ResetLatch(), SetLatch(), WaitEventSetWait(), and WaitEventSetWaitBlock().
◆ is_shared
bool Latch::is_shared
Definition at line 117 of file latch.h.
Referenced by DisownLatch(), InitLatch(), InitSharedLatch(), and OwnLatch().
◆ maybe_sleeping
sig_atomic_t Latch::maybe_sleeping
Definition at line 116 of file latch.h.
Referenced by InitLatch(), InitSharedLatch(), ResetLatch(), SetLatch(), WaitEventSetWait(), and WaitEventSetWaitBlock().
◆ owner_pid
int Latch::owner_pid
Definition at line 118 of file latch.h.
Referenced by AddWaitEventToSet(), DisownLatch(), InitLatch(), InitSharedLatch(), ModifyWaitEvent(), OwnLatch(), ResetLatch(), and SetLatch().
The documentation for this struct was generated from the following file:
- src/include/storage/latch.h