diff options
Diffstat (limited to 'vbench/src/vbench/core/handler_thread.h')
-rw-r--r-- | vbench/src/vbench/core/handler_thread.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vbench/src/vbench/core/handler_thread.h b/vbench/src/vbench/core/handler_thread.h index 402ecbeb0dc..8ece1389dfc 100644 --- a/vbench/src/vbench/core/handler_thread.h +++ b/vbench/src/vbench/core/handler_thread.h @@ -6,7 +6,7 @@ #include <vespa/vespalib/util/arrayqueue.hpp> #include <vespa/vespalib/util/thread.h> #include <vespa/vespalib/util/runnable.h> -#include <vespa/vespalib/util/joinable.h> +#include <condition_variable> namespace vbench { @@ -19,8 +19,7 @@ namespace vbench { **/ template <typename T> class HandlerThread : public Handler<T>, - public vespalib::Runnable, - public vespalib::Joinable + public vespalib::Runnable { private: std::mutex _lock; @@ -36,7 +35,7 @@ public: HandlerThread(Handler<T> &next, init_fun_t init_fun); ~HandlerThread(); void handle(std::unique_ptr<T> obj) override; - void join() override; + void join(); }; } // namespace vbench |