commit | 6151a2870095aba4df44d4ee72fc68bcdff7b627 | [log] [tgz] |
---|---|---|
author | Dale Sather <dalesat@google.com> | Wed Jun 19 20:21:25 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Wed Jun 19 20:21:25 2019 +0000 |
tree | 07c9b9974623247437b214921fad85ef7cc8d352 | |
parent | 20601f3783efeed7598acf38db1e78606c32f31f [diff] |
[gtest,audio] avoid polling for conditions This CL changes RealLoopFixture.RunLoop[WithTimeoutOr]Until to accept an infinite step value, in which case the loop blocks normally, checking the condition when in unblocks naturally. This is useful in 90% of cases - cases in which the condition becomes true as the result of executing a task on the loop. This eliminates the need for polling the condition at some fixed 'step' frequency (the default being 10ms). Audio tests are configured to use an infinite step value. TEST: audio tests Change-Id: I1d4640f4101a28d761603ba77b772f85ebd0e72e
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.