diff options
author | Julian Lettner <jlettner@apple.com> | 2019-10-17 20:22:32 +0000 |
---|---|---|
committer | Julian Lettner <jlettner@apple.com> | 2019-10-17 20:22:32 +0000 |
commit | 2ca8e27bd038673b514c8452d661a413ce0d2123 (patch) | |
tree | cca1c57375f8d7d75aa525b7f38ea4fd6b459906 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 54017d0f526391a88e5e250a4bbc7a8ea77fa902 (diff) | |
download | bcm5719-llvm-2ca8e27bd038673b514c8452d661a413ce0d2123.tar.gz bcm5719-llvm-2ca8e27bd038673b514c8452d661a413ce0d2123.zip |
Reland "[lit] Synthesize artificial deadline"
We always want to use a deadline when calling `result.await`. Let's
synthesize an artificial deadline (now plus one year) to simplify code
and do less busy waiting.
Thanks to Reid Kleckner for diagnosing that a deadline for of "positive
infinity" does not work with Python 3 anymore. See commit:
4ff1e34b606d9a9fcfd8b8b5449a558315af94e5
I tested this patch with Python 2 and Python 3.
llvm-svn: 375165
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions