Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 (rust-lang#95496).
- Loading branch information