summaryrefslogtreecommitdiff
path: root/src/select.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/select.cpp')
-rw-r--r--src/select.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select.cpp b/src/select.cpp
index 8e56a2d..eeac5a9 100644
--- a/src/select.cpp
+++ b/src/select.cpp
@@ -57,7 +57,7 @@ xs::select_t::select_t (xs::ctx_t *ctx_, uint32_t tid_) :
xs::select_t::~select_t ()
{
- worker.stop ();
+ thread_stop (&worker);
}
xs::handle_t xs::select_t::add_fd (fd_t fd_, i_poll_events *events_)
@@ -141,7 +141,7 @@ void xs::select_t::reset_pollout (handle_t handle_)
void xs::select_t::xstart ()
{
- worker.start (worker_routine, this);
+ thread_start (&worker, worker_routine, this);
}
void xs::select_t::xstop ()