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