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