MCPcopy Create free account
hub / github.com/F-Stack/f-stack / addEventMask

Function addEventMask

app/redis-6.2.6/src/ae_ff_kqueue.c:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57static inline void addEventMask(char *eventsMask, int fd, int mask) {
58 eventsMask[fd/4] |= EVENT_MASK_ENCODE(fd, mask);
59}
60
61static inline void resetEventMask(char *eventsMask, int fd) {
62 eventsMask[fd/4] &= ~EVENT_MASK_ENCODE(fd, 0x3);

Callers 1

aeApiPollFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected