Suspends the current task until epoll reports any event in events_expected for the I/O device or the I/O device times out.
the events to wait for (EPOLLHUP and EPOLLERR are always implicitly added)
the events reported by epoll.
EpollException if registering with epoll failed, TimeoutException on timeout waiting for I/O events.
See Implementation
Suspends the current task until epoll reports any event in events_expected for the I/O device or the I/O device times out.