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

Function aeApiResize

src/ae_select.c:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52static int aeApiResize(aeEventLoop *eventLoop, int setsize) {
53 /* Just ensure we have enough room in the fd_set type. */
54 if (setsize >= FD_SETSIZE) return -1;
55 return 0;
56}
57
58static void aeApiFree(aeEventLoop *eventLoop) {
59 zfree(eventLoop->apidata);

Callers 1

aeResizeSetSizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected