aboutsummaryrefslogtreecommitdiff
path: root/src/AsyncEventLoop.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/AsyncEventLoop.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/AsyncEventLoop.hpp b/src/AsyncEventLoop.hpp
index 5718909..8082dfa 100644
--- a/src/AsyncEventLoop.hpp
+++ b/src/AsyncEventLoop.hpp
@@ -33,6 +33,9 @@ protected:
static void closeHandle(uv_handle_t *handle, void *arg = nullptr);
private:
+ void flushTasks();
+
+private:
uv_loop_t *loop;
std::thread loopThread;
uv_async_t asyncHandle;