This was requested in the review of D99175; rename the "runs"
variable to clarify what it means wrt the test, and move updating of
it to the main function to clarify its behaviour wrt the two runs
further.
Details
Details
- Reviewers
• Quuxplusone curdeius - Group Reviewers
Restricted Project - Commits
- rGf8013a35b6fb: [libcxx] [test] Make the condvar wait_for tests a bit more understandable. NFC.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp | ||
---|---|---|
36 | Is there a reason we can't do void f(bool expect_timeout)? |
libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp | ||
---|---|---|
36 | I guess we could, although I'm not sure if that makes it significantly more readable... |
Is there a reason we can't do void f(bool expect_timeout)?