From 31421f8448d0192d04b95e31a0aecde2675b5988 Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Mon, 28 Oct 2019 17:12:58 +0200 Subject: [core] Add Scheduler::scheduleAndReplyValue() API --- src/mbgl/util/thread_pool.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mbgl/util/thread_pool.hpp b/src/mbgl/util/thread_pool.hpp index 7642f9b4ca..e39c1abc73 100644 --- a/src/mbgl/util/thread_pool.hpp +++ b/src/mbgl/util/thread_pool.hpp @@ -60,11 +60,11 @@ private: static_assert(N > 0, "Thread count must be more than zero."); }; -using SequencedScheduler = ThreadedScheduler<1>; +class SequencedScheduler : public ThreadedScheduler<1> {}; template using ParallelScheduler = ThreadedScheduler<1 + extra>; -using ThreadPool = ParallelScheduler<3>; +class ThreadPool : public ParallelScheduler<3> {}; } // namespace mbgl -- cgit v1.2.1