From 0f9ef2506f316d6bb7e8e455ad222bc173eb5b48 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 4 Jan 2014 15:58:00 +0100 Subject: event/Loop: remove unused method AddCall() --- src/event/Loop.hxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/event/Loop.hxx') diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx index 0586a1f68..60d52ba52 100644 --- a/src/event/Loop.hxx +++ b/src/event/Loop.hxx @@ -30,7 +30,6 @@ #include "WakeFD.hxx" #include "SocketMonitor.hxx" -#include #include #include #endif @@ -91,7 +90,6 @@ class EventLoop final std::list idle; Mutex mutex; - std::list> calls; std::list deferred; unsigned now_ms; @@ -156,13 +154,6 @@ public: void AddTimer(TimeoutMonitor &t, unsigned ms); void CancelTimer(TimeoutMonitor &t); - /** - * Schedule a function to be called inside the thread. - * - * This method is thread-safe. - */ - void AddCall(std::function &&f); - /** * Schedule a call to DeferredMonitor::RunDeferred(). * -- cgit v1.2.3