summaryrefslogtreecommitdiff
path: root/src/epoll.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:10:49 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:10:49 +0900
commit50f225a04422abf64545f5eb36592d8c990b0ae4 (patch)
tree1ad0396c3f32b4e89f80d4abdbf0d9ced6a1e55c /src/epoll.hpp
parente5e9852181947a9c41db9ff3c47e94d66a933161 (diff)
poller_base_t renamed to io_thread_t
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/epoll.hpp')
-rw-r--r--src/epoll.hpp6
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_);