Fields
| hardware | None |
| os | None |
Parameters
Fields
| Name | Value |
|---|
Parameters
| Name | Value |
|---|---|
| git_commit |
commit e9d5842ac7bd8d9b5700dc415910425ca796f4c1 Author: Paul Kirth <paulkirth@google.com> Date: Wed Jul 31 08:15:55 2024 -0700 [libc++] Make std::unique_lock available with _LIBCPP_HAS_NO_THREADS (#99562) This is a follow up to https://github.com/llvm/llvm-project/pull/98717, which made lock_guard available under _LIBCPP_HAS_NO_THREADS. We can make unique_lock available under similar circumstances. This patch follows the example in #98717, by: - Removing the preprocessor guards for _LIBCPP_HAS_NO_THREADS in the unique_lock header. - providing a set of custom mutex implementations in a local header. - using custom locks in tests that can be made to work under `no-threads`. |