Title: [148166] trunk/Source/WTF
- Revision
- 148166
- Author
- [email protected]
- Date
- 2013-04-10 20:12:14 -0700 (Wed, 10 Apr 2013)
Log Message
[WTF] Get rid of truncated thread name warnings for non-Windows platforms
https://bugs.webkit.org/show_bug.cgi?id=114266
Reviewed by Ryosuke Niwa.
Hide the annoying message from ports that are not really interested
about it.
* wtf/Threading.cpp:
(WTF::createThread):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (148165 => 148166)
--- trunk/Source/WTF/ChangeLog 2013-04-11 01:59:39 UTC (rev 148165)
+++ trunk/Source/WTF/ChangeLog 2013-04-11 03:12:14 UTC (rev 148166)
@@ -1,3 +1,16 @@
+2013-04-10 Thiago Marcos P. Santos <[email protected]>
+
+ [WTF] Get rid of truncated thread name warnings for non-Windows platforms
+ https://bugs.webkit.org/show_bug.cgi?id=114266
+
+ Reviewed by Ryosuke Niwa.
+
+ Hide the annoying message from ports that are not really interested
+ about it.
+
+ * wtf/Threading.cpp:
+ (WTF::createThread):
+
2013-04-10 Benjamin Poulain <[email protected]>
Mass remove all the empty directories
Modified: trunk/Source/WTF/wtf/Threading.cpp (148165 => 148166)
--- trunk/Source/WTF/wtf/Threading.cpp 2013-04-11 01:59:39 UTC (rev 148165)
+++ trunk/Source/WTF/wtf/Threading.cpp 2013-04-11 03:12:14 UTC (rev 148166)
@@ -73,7 +73,7 @@
{
// Visual Studio has a 31-character limit on thread names. Longer names will
// be truncated silently, but we'd like callers to know about the limit.
-#if !LOG_DISABLED
+#if !LOG_DISABLED && PLATFORM(WIN)
if (name && strlen(name) > 31)
LOG_ERROR("Thread name \"%s\" is longer than 31 characters and will be truncated by Visual Studio", name);
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes