[all-commits] [llvm/llvm-project] 2ca8e2: Reland "[lit] Synthesize artificial deadline"

Julian Lettner via All-commits all-commits at lists.llvm.org
Thu Oct 17 13:21:23 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ca8e27bd038673b514c8452d661a413ce0d2123
      https://github.com/llvm/llvm-project/commit/2ca8e27bd038673b514c8452d661a413ce0d2123
  Author: Julian Lettner <jlettner at apple.com>
  Date:   2019-10-17 (Thu, 17 Oct 2019)

  Changed paths:
    M llvm/utils/lit/lit/run.py

  Log Message:
  -----------
  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




More information about the All-commits mailing list