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_copy.fail.cpp | ||
| assign_move.pass.cpp | ||
| ctor1.fail.cpp | ||
| ctor2.fail.cpp | ||
| ctor_copy.fail.cpp | ||
| ctor_default.pass.cpp | ||
| ctor_func.pass.cpp | ||
| ctor_func_alloc.pass.cpp | ||
| ctor_move.pass.cpp | ||
| dtor.pass.cpp | ||
| get_future.pass.cpp | ||
| make_ready_at_thread_exit.pass.cpp | ||
| operator.pass.cpp | ||
| reset.pass.cpp | ||
| swap.pass.cpp | ||