llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock
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
..
thread.lock.guard [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
thread.lock.scoped [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
thread.lock.shared [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.lock.unique [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
types.fail.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
types.pass.cpp [libc++] Take 2: Implement LWG 2510 2019-09-26 14:51:10 +00:00