Title: [166193] trunk/Source/WTF
Revision
166193
Author
aes...@apple.com
Date
2014-03-24 14:14:56 -0700 (Mon, 24 Mar 2014)

Log Message

Fix the iOS build.

* wtf/ThreadingPthreads.cpp:
(WTF::createThreadInternal):
(WTF::setCurrentThreadQOSUtility):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (166192 => 166193)


--- trunk/Source/WTF/ChangeLog	2014-03-24 21:03:46 UTC (rev 166192)
+++ trunk/Source/WTF/ChangeLog	2014-03-24 21:14:56 UTC (rev 166193)
@@ -1,3 +1,11 @@
+2014-03-24  Andy Estes  <aes...@apple.com>
+
+        Fix the iOS build.
+
+        * wtf/ThreadingPthreads.cpp:
+        (WTF::createThreadInternal):
+        (WTF::setCurrentThreadQOSUtility):
+
 2014-03-24  Gavin Barraclough  <barraclo...@apple.com>
 
         Add support for thread QoS

Modified: trunk/Source/WTF/wtf/ThreadingPthreads.cpp (166192 => 166193)


--- trunk/Source/WTF/wtf/ThreadingPthreads.cpp	2014-03-24 21:03:46 UTC (rev 166192)
+++ trunk/Source/WTF/wtf/ThreadingPthreads.cpp	2014-03-24 21:14:56 UTC (rev 166193)
@@ -175,7 +175,7 @@
     pthread_t threadHandle;
     pthread_attr_t attr;
     pthread_attr_init(&attr);
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
+#if OS(MAC_OS_X) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
     pthread_attr_set_qos_class_np(&attr, QOS_CLASS_USER_INTERACTIVE, 0);
 #endif
     int error = pthread_create(&threadHandle, &attr, wtfThreadEntryPoint, invocation.get());
@@ -236,7 +236,7 @@
 
 void setCurrentThreadQOSUtility()
 {
-#if (TARGET_OS_MAC && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000)
+#if OS(MAC_OS_X) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
     pthread_set_qos_class_np(pthread_self(), QOS_CLASS_UTILITY, 0);
 #endif
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to