Title: [202801] trunk/Source/WebKit2
- Revision
- 202801
- Author
- [email protected]
- Date
- 2016-07-04 00:35:03 -0700 (Mon, 04 Jul 2016)
Log Message
[GTK] ASSERTION_FAILED: m_key != PTHREAD_KEYS_MAX when defining WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH
https://bugs.webkit.org/show_bug.cgi?id=158149
Patch by Fujii Hironori <[email protected]> on 2016-07-04
Reviewed by Carlos Garcia Campos.
WTF::sleep can not be used at the beginning of web process because
WTF is not initialized at the moment yet.
* WebProcess/gtk/WebProcessMainGtk.cpp: Use g_usleep instead of WTF::sleep.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (202800 => 202801)
--- trunk/Source/WebKit2/ChangeLog 2016-07-04 06:30:28 UTC (rev 202800)
+++ trunk/Source/WebKit2/ChangeLog 2016-07-04 07:35:03 UTC (rev 202801)
@@ -1,3 +1,15 @@
+2016-07-04 Fujii Hironori <[email protected]>
+
+ [GTK] ASSERTION_FAILED: m_key != PTHREAD_KEYS_MAX when defining WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH
+ https://bugs.webkit.org/show_bug.cgi?id=158149
+
+ Reviewed by Carlos Garcia Campos.
+
+ WTF::sleep can not be used at the beginning of web process because
+ WTF is not initialized at the moment yet.
+
+ * WebProcess/gtk/WebProcessMainGtk.cpp: Use g_usleep instead of WTF::sleep.
+
2016-07-03 Dan Bernstein <[email protected]>
Follow-up to r202789.
Modified: trunk/Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp (202800 => 202801)
--- trunk/Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp 2016-07-04 06:30:28 UTC (rev 202800)
+++ trunk/Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp 2016-07-04 07:35:03 UTC (rev 202801)
@@ -49,7 +49,7 @@
{
#ifndef NDEBUG
if (g_getenv("WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH"))
- WTF::sleep(30);
+ g_usleep(30 * G_USEC_PER_SEC);
#endif
#if (USE(COORDINATED_GRAPHICS_THREADED) || USE(GSTREAMER_GL)) && PLATFORM(X11)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes