diff options
Diffstat (limited to 'src/poll.hpp')
-rw-r--r-- | src/poll.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/poll.hpp b/src/poll.hpp index 3d5157e..ec06671 100644 --- a/src/poll.hpp +++ b/src/poll.hpp @@ -32,7 +32,7 @@ #include "fd.hpp" #include "thread.hpp" -#include "poller_base.hpp" +#include "io_thread.hpp" namespace xs { @@ -42,14 +42,14 @@ namespace xs // Implements socket polling mechanism using the POSIX.1-2001 // poll() system call. - class poll_t : public poller_base_t + class poll_t : public io_thread_t { public: poll_t (xs::ctx_t *ctx_, uint32_t tid_); ~poll_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_); |