From 817c26111a0d6650e7ebae73e46621626106d0a7 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Wed, 12 Oct 2016 17:28:22 -0400 Subject: [core] [node] pass thread pool impl to Map constructor Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread --- platform/android/src/native_map_view.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/android/src/native_map_view.hpp') diff --git a/platform/android/src/native_map_view.hpp b/platform/android/src/native_map_view.hpp index 7974f282d9..d42890dae2 100755 --- a/platform/android/src/native_map_view.hpp +++ b/platform/android/src/native_map_view.hpp @@ -3,6 +3,7 @@ #include #include #include +#include #include #include @@ -95,6 +96,7 @@ private: // Ensure these are initialised last std::unique_ptr fileSource; + mbgl::ThreadPool threadPool; std::unique_ptr map; mbgl::EdgeInsets insets; -- cgit v1.2.1