eal/linux: add function to allow interruptible epoll