[libc++][PSTL] Add a simple std::thread backend
authorNikolas Klauser <nikolasklauser@berlin.de>
Wed, 24 May 2023 22:33:38 +0000 (15:33 -0700)
committerNikolas Klauser <nikolasklauser@berlin.de>
Wed, 24 May 2023 22:33:58 +0000 (15:33 -0700)
commite837f4b7dbc32f085d0fe86b2de91e1da14afaa6
treee22d088babcafe93c176670434df538a17970ee7
parent266b5bc1f61239955eb6eeceecdb78e7929d1abb
[libc++][PSTL] Add a simple std::thread backend

This is just to test that the PSTL works with parallelization. This is not supposed to be a production-ready backend.

Reviewed By: ldionne, #libc

Spies: EricWF, arichardson, libcxx-commits

Differential Revision: https://reviews.llvm.org/D150284
libcxx/CMakeLists.txt
libcxx/include/CMakeLists.txt
libcxx/include/__algorithm/pstl_backend.h
libcxx/include/__algorithm/pstl_backends/cpu_backends/backend.h
libcxx/include/__algorithm/pstl_backends/cpu_backends/thread.h [new file with mode: 0644]
libcxx/include/__config
libcxx/include/__config_site.in
libcxx/include/module.modulemap.in
libcxx/test/libcxx/private_headers.verify.cpp