Ignore:
Timestamp:
Jul 20, 2011, 11:43:43 AM (14 years ago)
Author:
[email protected]
Message:

Revert worker and WebKit2 runloops to use currentTime() for scheduling instead of the monotonic clock
https://bugs.webkit.org/show_bug.cgi?id=64841

Patch by James Robinson <[email protected]> on 2011-07-20
Reviewed by Mark Rowe.

http://trac.webkit.org/changeset/91206 converted most of WebKit's deferred work scheduling to using the
monotonic clock instead of WTF::currentTime(). This broke many plugin tests on WebKit2 for reasons that are
unclear. This reverts everything except for WebCore::ThreadTimers back to the previous behavior.

Source/JavaScriptCore:

  • wtf/ThreadingPthreads.cpp:

(WTF::ThreadCondition::timedWait):

  • wtf/ThreadingWin.cpp:

(WTF::absoluteTimeToWaitTimeoutInterval):

  • wtf/gtk/ThreadingGtk.cpp:

(WTF::ThreadCondition::timedWait):

  • wtf/qt/ThreadingQt.cpp:

(WTF::ThreadCondition::timedWait):

Source/WebCore:

  • workers/WorkerRunLoop.cpp:

(WebCore::WorkerSharedTimer::setFireInterval):

Source/WebKit2:

  • Platform/CoreIPC/Connection.cpp:

(CoreIPC::Connection::waitForMessage):
(CoreIPC::Connection::waitForSyncReply):

  • Platform/RunLoop.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r91380 r91383  
     12011-07-20  James Robinson  <[email protected]>
     2
     3        Revert worker and WebKit2 runloops to use currentTime() for scheduling instead of the monotonic clock
     4        https://bugs.webkit.org/show_bug.cgi?id=64841
     5
     6        Reviewed by Mark Rowe.
     7
     8        http://trac.webkit.org/changeset/91206 converted most of WebKit's deferred work scheduling to using the
     9        monotonic clock instead of WTF::currentTime().  This broke many plugin tests on WebKit2 for reasons that are
     10        unclear.  This reverts everything except for WebCore::ThreadTimers back to the previous behavior.
     11
     12        * wtf/ThreadingPthreads.cpp:
     13        (WTF::ThreadCondition::timedWait):
     14        * wtf/ThreadingWin.cpp:
     15        (WTF::absoluteTimeToWaitTimeoutInterval):
     16        * wtf/gtk/ThreadingGtk.cpp:
     17        (WTF::ThreadCondition::timedWait):
     18        * wtf/qt/ThreadingQt.cpp:
     19        (WTF::ThreadCondition::timedWait):
     20
    1212011-07-14  David Levin  <[email protected]>
    222
Note: See TracChangeset for help on using the changeset viewer.