about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-01 08:15:21 +0100
committerGitHub <noreply@github.com>2024-12-01 08:15:21 +0100
commitfe4c6e8657271b0eeb5ada90e9ab751caab52a22 (patch)
tree9a42e9e23ed102fe81a2c82f293533d674e6994d /compiler/rustc_hir_analysis/src
parent4af7fa79a0e829c0edcc93434a8c788be8ec58c6 (diff)
parent8b2ff49ff9dd20ee417907c2e96daa9f0cd8e7c4 (diff)
downloadrust-fe4c6e8657271b0eeb5ada90e9ab751caab52a22.tar.gz
rust-fe4c6e8657271b0eeb5ada90e9ab751caab52a22.zip
Rollup merge of #128184 - joboet:refactor_pthread_sync, r=workingjubilee
std: refactor `pthread`-based synchronization

The non-trivial code for `pthread_condvar` is duplicated across the thread parking and the `Mutex`/`Condvar` implementations. This PR moves that code into `sys::pal`, which now exposes an `unsafe` wrapper type for `pthread_mutex_t` and `pthread_condvar_t`.
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions