MCPcopy Create free account
hub / github.com/apache/cloudberry / SHMQueueInit

Function SHMQueueInit

src/backend/storage/ipc/shmqueue.c:35–40  ·  view source on GitHub ↗

* ShmemQueueInit -- make the head of a new queue point * to itself */

Source from the content-addressed store, hash-verified

33 * to itself
34 */
35void
36SHMQueueInit(SHM_QUEUE *queue)
37{
38 Assert(ShmemAddrIsValid(queue));
39 queue->prev = queue->next = queue;
40}
41
42/*
43 * SHMQueueIsDetached -- true if element is not currently

Callers 14

ResLockAcquireFunction · 0.85
WalSndShmemInitFunction · 0.85
SetupLockInTableFunction · 0.85
lock_twophase_recoverFunction · 0.85
InitPredicateLocksFunction · 0.85
CreatePredicateLockFunction · 0.85
InitProcGlobalFunction · 0.85

Calls 1

ShmemAddrIsValidFunction · 0.85

Tested by

no test coverage detected