summaryrefslogtreecommitdiff
path: root/src/io_thread.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:03:45 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:03:45 +0900
commit0e167c86051614f9d9d9fab255aae8272b1b056b (patch)
tree4b1184b3937804a4cdfaad5552085c94e3fa813e /src/io_thread.cpp
parentff12aabf4b2ec48339235ad67175575d2b00adc0 (diff)
File descriptor passed to in_event and out_event
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/io_thread.cpp')
-rw-r--r--src/io_thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io_thread.cpp b/src/io_thread.cpp
index e5abbe0..75bca4f 100644
--- a/src/io_thread.cpp
+++ b/src/io_thread.cpp
@@ -62,7 +62,7 @@ int xs::io_thread_t::get_load ()
return poller->get_load ();
}
-void xs::io_thread_t::in_event ()
+void xs::io_thread_t::in_event (fd_t fd_)
{
// TODO: Do we want to limit number of commands I/O thread can
// process in a single go?
@@ -83,7 +83,7 @@ void xs::io_thread_t::in_event ()
}
}
-void xs::io_thread_t::out_event ()
+void xs::io_thread_t::out_event (fd_t fd_)
{
// We are never polling for POLLOUT here. This function is never called.
xs_assert (false);