diff options
| author | joboet <jonasboettiger@icloud.com> | 2022-04-25 15:19:50 +0200 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2022-04-25 15:19:50 +0200 |
| commit | 54daf496e2e957a9f69aa88bf6c42520a2dbfa02 (patch) | |
| tree | 3ecee0dc5e3b5f0e8c3a93ce4bd6ecb5eaf05a5f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b759b2218649016cc40e82bdd6d958e2277ff6d7 (diff) | |
| download | rust-54daf496e2e957a9f69aa88bf6c42520a2dbfa02.tar.gz rust-54daf496e2e957a9f69aa88bf6c42520a2dbfa02.zip | |
std: directly use pthread in UNIX parker implementation
Mutex and Condvar are being replaced by more efficient implementations, which need thread parking themselves (see #93740). Therefore use the pthread synchronization primitives directly. Also, avoid allocating because the Parker struct is being placed in an Arc anyways.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
