[all-commits] [llvm/llvm-project] 4f4d6c: [libcxx testing] Remove ALLOW_RETRIES from sleep_u...

David Zarzycki via All-commits all-commits at lists.llvm.org
Sun May 10 03:02:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f4d6c81f8b7505a1f0dcd887f75a7a8225ba52b
      https://github.com/llvm/llvm-project/commit/4f4d6c81f8b7505a1f0dcd887f75a7a8225ba52b
  Author: David Zarzycki <dave at znu.io>
  Date:   2020-05-10 (Sun, 10 May 2020)

  Changed paths:
    M libcxx/test/std/thread/thread.threads/thread.thread.this/sleep_until.pass.cpp

  Log Message:
  -----------
  [libcxx testing] Remove ALLOW_RETRIES from sleep_until.pass.cpp

Operating systems are best effort by default, so we cannot assume that
sleep-like APIs return as soon as we'd like.

Even if a sleep-like API returns when we want it to, the potential for
preemption means that attempts to measure time are subject to delays.




More information about the All-commits mailing list