summaryrefslogtreecommitdiff
path: root/platform/linux
diff options
context:
space:
mode:
authorMike Morris <mikemorris@users.noreply.github.com>2016-10-12 17:28:22 -0400
committerMike Morris <mikemorris@users.noreply.github.com>2016-10-20 14:37:36 -0400
commit817c26111a0d6650e7ebae73e46621626106d0a7 (patch)
tree60a5206f2f7658b06b214d9b7435a65a243d6e83 /platform/linux
parentab85fdb4524788ce7279e8ac362a0c1edbd5d5df (diff)
downloadqtlocation-mapboxgl-817c26111a0d6650e7ebae73e46621626106d0a7.tar.gz
[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
Diffstat (limited to 'platform/linux')
-rw-r--r--platform/linux/config.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/linux/config.cmake b/platform/linux/config.cmake
index 050a03bcb2..86e8697f8c 100644
--- a/platform/linux/config.cmake
+++ b/platform/linux/config.cmake
@@ -44,6 +44,9 @@ macro(mbgl_platform_core)
PRIVATE platform/default/headless_display.cpp
PRIVATE platform/default/headless_view.cpp
PRIVATE platform/default/headless_view_glx.cpp
+
+ # Thread pool
+ PRIVATE platform/default/thread_pool.cpp
)
target_include_directories(mbgl-core