MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / resetEventMask

Function resetEventMask

src/ae_kqueue.c:58–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58static inline void resetEventMask(char *eventsMask, int fd) {
59 eventsMask[fd/4] &= ~EVENT_MASK_ENCODE(fd, 0x3);
60}
61
62static int aeApiCreate(aeEventLoop *eventLoop) {
63 aeApiState *state = (aeApiState*)zmalloc(sizeof(aeApiState), MALLOC_LOCAL);

Callers 1

aeApiPollFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected