llvm-project/libcxx/test/std/thread/futures/futures.shared_future
Louis Dionne 564628014c [libc++] Introduce an indirection to create threads in the test suite
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.
2020-11-27 11:54:19 -05:00
..
copy_assign.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
copy_ctor.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
ctor_future.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
default.pass.cpp Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
dtor.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
get.pass.cpp [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
move_assign.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
move_ctor.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
wait.pass.cpp [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
wait_for.pass.cpp [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
wait_until.pass.cpp [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00