From 88b2fbd4ecd0b4b59e900ce743abed41d63bbf46 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Wed, 21 Jun 2017 23:55:56 -0400 Subject: [darwin] Assign threads more specific names --- platform/darwin/src/nsthread.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'platform/darwin') diff --git a/platform/darwin/src/nsthread.mm b/platform/darwin/src/nsthread.mm index 6caa1be43e..458db968d8 100644 --- a/platform/darwin/src/nsthread.mm +++ b/platform/darwin/src/nsthread.mm @@ -15,7 +15,8 @@ std::string getCurrentThreadName() { } void setCurrentThreadName(const std::string& name) { - pthread_setname_np(name.c_str()); + std::string qualifiedName = "com.mapbox.mbgl." + name; + pthread_setname_np(qualifiedName.c_str()); } void makeThreadLowPriority() { -- cgit v1.2.1