summaryrefslogtreecommitdiffstats
path: root/base/test/launcher/test_launcher.cc
diff options
context:
space:
mode:
authorrvargas <rvargas@chromium.org>2015-03-31 21:02:51 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-01 04:03:41 +0000
commitd65edb7b2d228497056e18100c882f7cf7d59c36 (patch)
tree2575aca1a24a6633da7e1de4f0f2586173b231b2 /base/test/launcher/test_launcher.cc
parent0bd2a738f107ad7021c70bfd36ae41e4565fe946 (diff)
downloadchromium_src-d65edb7b2d228497056e18100c882f7cf7d59c36.zip
chromium_src-d65edb7b2d228497056e18100c882f7cf7d59c36.tar.gz
chromium_src-d65edb7b2d228497056e18100c882f7cf7d59c36.tar.bz2
Base: Truncate the timeout of WaitableEvent::TimedWait on Windows.
The timeout has to be adjusted to milliseconds (the resolution of the underlying call), but it should be truncated instead of extended, because the documentation clearly states that the function can fail in less time than the passed-in timeout, and by definition, the timeout is the maximum time that the caller is willing to block. BUG=none Review URL: https://codereview.chromium.org/1040833002 Cr-Commit-Position: refs/heads/master@{#323178}
Diffstat (limited to 'base/test/launcher/test_launcher.cc')
0 files changed, 0 insertions, 0 deletions