diff options
| author | Paul Kirth <paulkirth@google.com> | 2024-07-31 08:15:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-31 08:15:55 -0700 |
| commit | e9d5842ac7bd8d9b5700dc415910425ca796f4c1 (patch) | |
| tree | 9fab6cf30a1d9aa27fecf6180311d362e36c1b9e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | b5a7d3b6c2169d84f9da749425a38dcef914d1ce (diff) | |
[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`.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
