diff options
Diffstat (limited to 'src/devpoll.hpp')
-rw-r--r-- | src/devpoll.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devpoll.hpp b/src/devpoll.hpp index b32aa28..3947f3e 100644 --- a/src/devpoll.hpp +++ b/src/devpoll.hpp @@ -30,7 +30,7 @@ #include "fd.hpp" #include "thread.hpp" -#include "poller_base.hpp" +#include "io_thread.hpp" namespace xs { @@ -39,14 +39,14 @@ namespace xs // Implements socket polling mechanism using the "/dev/poll" interface. - class devpoll_t : public poller_base_t + class devpoll_t : public io_thread_t { public: devpoll_t (xs::ctx_t *ctx_, uint32_t tid_); ~devpoll_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_); |