about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2022-04-25 15:19:50 +0200
committerjoboet <jonasboettiger@icloud.com>2022-04-25 15:19:50 +0200
commit54daf496e2e957a9f69aa88bf6c42520a2dbfa02 (patch)
tree3ecee0dc5e3b5f0e8c3a93ce4bd6ecb5eaf05a5f /compiler/rustc_mir_transform/src/coverage/debug.rs
parentb759b2218649016cc40e82bdd6d958e2277ff6d7 (diff)
downloadrust-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_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions