diff options
| author | Josh Stone <jistone@redhat.com> | 2022-08-08 13:27:09 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2022-08-08 13:27:09 -0700 |
| commit | 013986be1bcfbfd9cedddf22dfd9584ccdb7ee6e (patch) | |
| tree | ced27d6dd5f49b2816d508c7bea52c468d87cdd4 /compiler/rustc_codegen_llvm/src | |
| parent | f03ce30962cf1b2a5158667eabae8bf6e8d1cb03 (diff) | |
| download | rust-013986be1bcfbfd9cedddf22dfd9584ccdb7ee6e.tar.gz rust-013986be1bcfbfd9cedddf22dfd9584ccdb7ee6e.zip | |
linux: Use `pthread_setname_np` instead of `prctl`
This function is available on Linux since glibc 2.12, musl 1.1.16, and uClibc 1.0.20. The main advantage over `prctl` is that it properly represents the pointer argument, rather than a multi-purpose `long`, so we're better representing strict provenance (#95496).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
