Title: [167378] trunk/Source/WTF
- Revision
- 167378
- Author
- barraclo...@apple.com
- Date
- 2014-04-16 12:57:02 -0700 (Wed, 16 Apr 2014)
Log Message
Update to pthread QoS SPI
https://bugs.webkit.org/show_bug.cgi?id=131753
Rubber stamped by Benjamin Poulain
* wtf/ThreadingPthreads.cpp:
(WTF::setCurrentThreadQOSUtility):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (167377 => 167378)
--- trunk/Source/WTF/ChangeLog 2014-04-16 19:54:03 UTC (rev 167377)
+++ trunk/Source/WTF/ChangeLog 2014-04-16 19:57:02 UTC (rev 167378)
@@ -1,3 +1,13 @@
+2014-04-16 Gavin Barraclough <barraclo...@apple.com>
+
+ Update to pthread QoS SPI
+ https://bugs.webkit.org/show_bug.cgi?id=131753
+
+ Rubber stamped by Benjamin Poulain
+
+ * wtf/ThreadingPthreads.cpp:
+ (WTF::setCurrentThreadQOSUtility):
+
2014-04-14 Geoffrey Garen <gga...@apple.com>
WTF should have an optional mbmalloc target so we can benchmark FastMalloc
Modified: trunk/Source/WTF/wtf/ThreadingPthreads.cpp (167377 => 167378)
--- trunk/Source/WTF/wtf/ThreadingPthreads.cpp 2014-04-16 19:54:03 UTC (rev 167377)
+++ trunk/Source/WTF/wtf/ThreadingPthreads.cpp 2014-04-16 19:57:02 UTC (rev 167378)
@@ -237,7 +237,7 @@
void setCurrentThreadQOSUtility()
{
#if OS(MAC_OS_X) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
- pthread_set_qos_class_np(pthread_self(), QOS_CLASS_UTILITY, 0);
+ pthread_set_qos_class_self_np(QOS_CLASS_UTILITY, 0);
#endif
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes