diff options
author | Huahui Wu <hwu@google.com> | 2011-04-19 15:51:22 -0700 |
---|---|---|
committer | Huahui Wu <hwu@google.com> | 2011-04-19 15:51:22 -0700 |
commit | 95b69b8d54e54dd36ed9290190934af3e835e912 (patch) | |
tree | 71e51931805f1b546f0453283cb3de0b75cc0502 /Source/JavaScriptCore | |
parent | 1deed5ff76dad5d0783c0e07639338f1d6b08a67 (diff) | |
download | external_webkit-95b69b8d54e54dd36ed9290190934af3e835e912.zip external_webkit-95b69b8d54e54dd36ed9290190934af3e835e912.tar.gz external_webkit-95b69b8d54e54dd36ed9290190934af3e835e912.tar.bz2 |
DO NOT MERGE
cherry pick of https://android-git.corp.google.com/g/#change,106682
b/3491968 stop the hanging of dunkindonuts.com
Sometimes, a sync load can wait forever and lock up the network thread,
here we replace Wait() with TimedWait() with multiple tries to avoid locking.
Unfortunately, TimedWait() doesn't return anything and can't tell if it's
a timeout or a quick pass, so we query timeofday and allow a few seconds for
the system timing error.
Change-Id: I991617130f93b44518d28926725f261d4569d73c
Diffstat (limited to 'Source/JavaScriptCore')
0 files changed, 0 insertions, 0 deletions