summaryrefslogtreecommitdiff
path: root/gfx/2d/JobScheduler_posix.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-05-01 09:28:43 +0000
committerMoonchild <moonchild@palemoon.org>2022-05-01 09:28:43 +0000
commit633728842e06fc9d61228a98a1d077efa5bf5ff2 (patch)
tree9450f24188f6011588851d9fd42802d2524e2e4b /gfx/2d/JobScheduler_posix.cpp
parentbf110158b926f99fa36c180150d242453c8b0f95 (diff)
parentbc2841f9f916b2a6aade0cd6dae4a2e4407352b6 (diff)
downloaduxp-633728842e06fc9d61228a98a1d077efa5bf5ff2.tar.gz
Merge branch 'master' into vpx-format-update
Diffstat (limited to 'gfx/2d/JobScheduler_posix.cpp')
-rw-r--r--gfx/2d/JobScheduler_posix.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gfx/2d/JobScheduler_posix.cpp b/gfx/2d/JobScheduler_posix.cpp
index 5446df6118..e41388f21c 100644
--- a/gfx/2d/JobScheduler_posix.cpp
+++ b/gfx/2d/JobScheduler_posix.cpp
@@ -31,7 +31,9 @@ public:
// XXX - temporarily disabled, see bug 1209039
//
// // Call this from the thread itself because of Mac.
-//#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+//#ifdef XP_MACOSX
+// pthread_setname_np(aName);
+//#elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__)
// pthread_set_name_np(mThread, aName);
//#elif defined(__NetBSD__)
// pthread_setname_np(mThread, "%s", (void*)aName);