diff options
author | rvargas <rvargas@chromium.org> | 2015-03-31 21:02:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-01 04:03:41 +0000 |
commit | d65edb7b2d228497056e18100c882f7cf7d59c36 (patch) | |
tree | 2575aca1a24a6633da7e1de4f0f2586173b231b2 /base/test/launcher/test_launcher.cc | |
parent | 0bd2a738f107ad7021c70bfd36ae41e4565fe946 (diff) | |
download | chromium_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