| 267 | } |
| 268 | |
| 269 | inline void Remove(int fd) noexcept { |
| 270 | TEvent e; |
| 271 | |
| 272 | Zero(e); |
| 273 | |
| 274 | epoll_ctl(Fd_, EPOLL_CTL_DEL, fd, &e); |
| 275 | } |
| 276 | |
| 277 | inline size_t Wait(TEvent* events, size_t len, int timeout) noexcept { |
| 278 | const int ret = ContEpollWait(Fd_, events, len, MicroToMilli(timeout)); |