We create threads using std::thread in various places in the test suite. However, the usual std::thread constructor may not work on all platforms, e.g. on platforms where passing a stack size is required to create a thread. This commit introduces a simple indirection that makes it easier to tweak how threads are created inside the test suite on various platforms. Note that tests that are purposefully calling std::thread's constructor directly (e.g. because that is what they're testing) were not modified. |
||
|---|---|---|
| .. | ||
| assign.compile.fail.cpp | ||
| copy.compile.fail.cpp | ||
| default.pass.cpp | ||
| destructor.pass.cpp | ||
| notify_all.pass.cpp | ||
| notify_one.pass.cpp | ||
| wait.pass.cpp | ||
| wait_for.pass.cpp | ||
| wait_for_pred.pass.cpp | ||
| wait_pred.pass.cpp | ||
| wait_until.pass.cpp | ||
| wait_until_pred.pass.cpp | ||