diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-10-29 11:54:43 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-10-29 11:54:43 +0200 |
commit | 978da4224e20c01efb01efe95bbfe51a45c6087d (patch) | |
tree | 822a736775d92c305ed40442068beda2898491c1 /platform | |
parent | d20bcb07957edc008d452db8ef5c91baa117bce6 (diff) | |
download | qtlocation-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.cpp | 2 |
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; |