forked from OSchip/llvm-project
![]() Increase the timeout tolerance if TEST_IS_EXECUTED_IN_A_SLOW_ENVIRONMENT is set, similarly to how it's done in a couple other tests. Use `std::this_thread::yield();` instead of busylooping. When multiple threads are busylooping, it's plausible that not all threads even get started running before the timeout runs out. This makes the threading tests succeed if run in Windows runners on Github Actions. Differential Revision: https://reviews.llvm.org/D131483 |
||
---|---|---|
.. | ||
thread.lock.guard | ||
thread.lock.scoped | ||
thread.lock.shared | ||
thread.lock.unique | ||
types.fail.cpp | ||
types.pass.cpp |