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