[libcxx-commits] [PATCH] D99768: [libcxx] [test] Make the condvar wait_for tests a bit more understandable. NFC.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 1 14:39:36 PDT 2021


Quuxplusone added inline comments.


================
Comment at: libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp:36
 
-int runs = 0;
+bool expect_timeout = false;
 
----------------
Is there a reason we can't do `void f(bool expect_timeout)`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99768/new/

https://reviews.llvm.org/D99768



More information about the libcxx-commits mailing list