Changeset 202801 in webkit


Ignore:
Timestamp:
Jul 4, 2016 12:35:03 AM (8 years ago)
Author:
commit-queue@webkit.org
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 <Fujii Hironori> 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.
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r202793 r202801  
     12016-07-04  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [GTK] ASSERTION_FAILED: m_key != PTHREAD_KEYS_MAX when defining WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH
     4        https://bugs.webkit.org/show_bug.cgi?id=158149
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        WTF::sleep can not be used at the beginning of web process because
     9        WTF is not initialized at the moment yet.
     10
     11        * WebProcess/gtk/WebProcessMainGtk.cpp: Use g_usleep instead of WTF::sleep.
     12
    1132016-07-03  Dan Bernstein  <mitz@apple.com>
    214
  • trunk/Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp

    r198384 r202801  
    5050#ifndef NDEBUG
    5151        if (g_getenv("WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH"))
    52             WTF::sleep(30);
     52            g_usleep(30 * G_USEC_PER_SEC);
    5353#endif
    5454
Note: See TracChangeset for help on using the changeset viewer.