summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2015-10-29 11:54:43 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2015-10-29 11:54:43 +0200
commit978da4224e20c01efb01efe95bbfe51a45c6087d (patch)
tree822a736775d92c305ed40442068beda2898491c1 /platform
parentd20bcb07957edc008d452db8ef5c91baa117bce6 (diff)
downloadqtlocation-mapboxgl-978da4224e20c01efb01efe95bbfe51a45c6087d.tar.gz
[core] Set names to threads on Linux
Makes debugging/profiling easier.
Diffstat (limited to 'platform')
-rw-r--r--platform/default/sqlite_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/sqlite_cache.cpp b/platform/default/sqlite_cache.cpp
index e618c960c4..dfb6290548 100644
--- a/platform/default/sqlite_cache.cpp
+++ b/platform/default/sqlite_cache.cpp
@@ -16,7 +16,7 @@ namespace mbgl {
using namespace mapbox::sqlite;
SQLiteCache::SQLiteCache(const std::string& path_)
- : thread(std::make_unique<util::Thread<Impl>>(util::ThreadContext{"SQLite Cache", util::ThreadType::Unknown, util::ThreadPriority::Low}, path_)) {
+ : thread(std::make_unique<util::Thread<Impl>>(util::ThreadContext{"SQLiteCache", util::ThreadType::Unknown, util::ThreadPriority::Low}, path_)) {
}
SQLiteCache::~SQLiteCache() = default;