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

Function WaitEventAdjustKqueueAdd

src/backend/storage/ipc/latch.c:1190–1200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1188#define AccessWaitEvent(k_ev) (*((WaitEvent **)(&(k_ev)->udata)))
1189
1190static inline void
1191WaitEventAdjustKqueueAdd(struct kevent *k_ev, int filter, int action,
1192 WaitEvent *event)
1193{
1194 k_ev->ident = event->fd;
1195 k_ev->filter = filter;
1196 k_ev->flags = action;
1197 k_ev->fflags = 0;
1198 k_ev->data = 0;
1199 AccessWaitEvent(k_ev) = event;
1200}
1201
1202static inline void
1203WaitEventAdjustKqueueAddPostmaster(struct kevent *k_ev, WaitEvent *event)

Callers 1

WaitEventAdjustKqueueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected