diff options
| author | joboet <jonasboettiger@icloud.com> | 2024-10-28 16:56:22 +0100 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2024-10-28 16:56:22 +0100 |
| commit | 528b37a738abf6cb0166fb60701dc2841ad54ebf (patch) | |
| tree | eb6c5127e99204acc82baaf365f6337ee7129354 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 32b17d56eb02495f9865028e1f7271a3a48c0b9b (diff) | |
| download | rust-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
