about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2024-10-28 16:56:22 +0100
committerjoboet <jonasboettiger@icloud.com>2024-10-28 16:56:22 +0100
commit528b37a738abf6cb0166fb60701dc2841ad54ebf (patch)
treeeb6c5127e99204acc82baaf365f6337ee7129354 /compiler/rustc_codegen_llvm/src/errors.rs
parent32b17d56eb02495f9865028e1f7271a3a48c0b9b (diff)
downloadrust-528b37a738abf6cb0166fb60701dc2841ad54ebf.tar.gz
rust-528b37a738abf6cb0166fb60701dc2841ad54ebf.zip
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 a non-movable wrapper type for `pthread_mutex_t` and `pthread_condvar_t`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions