[all-commits] [llvm/llvm-project] 1c4238: [libcxx testing] Stop using arbitrary timeouts in ...

David Zarzycki via All-commits all-commits at lists.llvm.org
Sat May 30 03:10:10 PDT 2020


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

  Changed paths:
    M libcxx/test/std/thread/thread.condition/thread.condition.condvar/notify_one.pass.cpp

  Log Message:
  -----------
  [libcxx testing] Stop using arbitrary timeouts in one test

On a busy and/or slow system, 100ms might not be long enough. Instead,
we now use atomic variables to communicate between threads.




More information about the All-commits mailing list