return true;
if (errno == EPERM)
return false;
- throw SystemException("epolll_ctl");
+ SENF_THROW_SYSTEM_EXCEPTION("epolll_ctl()");
}
template <class Value>
{
if (epoll_ctl(epollFd_, EPOLL_CTL_DEL, fd, 0) == -1)
if (errno != ENOENT && errno != EBADF)
- throw SystemException("epoll_ctl");
+ SENF_THROW_SYSTEM_EXCEPTION("epoll_ctl()");
}
template <class Value>
if (rv == -1) {
if (errno == EINTR)
continue;
- throw SystemException("epoll_wait");
+ SENF_THROW_SYSTEM_EXCEPTION("epoll_wait()");
}
break;
}