diff options
Diffstat (limited to 'src/epoll.hpp')
-rw-r--r-- | src/epoll.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/epoll.hpp b/src/epoll.hpp index 232d049..ad94120 100644 --- a/src/epoll.hpp +++ b/src/epoll.hpp @@ -31,7 +31,7 @@ #include "fd.hpp" #include "thread.hpp" -#include "poller_base.hpp" +#include "io_thread.hpp" namespace xs { @@ -42,14 +42,14 @@ namespace xs // This class implements socket polling mechanism using the Linux-specific // epoll mechanism. - class epoll_t : public poller_base_t + class epoll_t : public io_thread_t { public: epoll_t (xs::ctx_t *ctx_, uint32_t tid_); ~epoll_t (); - // "poller" concept. + // Implementation of virtual functions from io_thread_t. handle_t add_fd (fd_t fd_, xs::i_poll_events *events_); void rm_fd (handle_t handle_); void set_pollin (handle_t handle_); |