diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-04-13 10:47:12 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-04-13 21:04:09 +0200 |
commit | d137ccbfc8e869277d96759a114cfe83f5f83657 (patch) | |
tree | 0991348703862d5ae4749f9d22f968e262b98fcb /doc/translations/README.md | |
parent | b4060614c23cb1c39d89c58ec17bcf779611a2cb (diff) |
etcpak: Fix handling of pthread naming API for Linux and MinGW
For MinGW this is tricky to do as a two-step process like it was implemented,
as `std::thread::native_handle()` is implementation-defined and depending on
the MinGW distribution, it may or may not be a pthread handle.
With mingw-gcc as packaged in Linux distros with pthread support it worked
fine, but with llvm-mingw it was problematic.
Setting the name in the thread directly as done for Apple platforms is simpler
and works fine.
Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
Diffstat (limited to 'doc/translations/README.md')
0 files changed, 0 insertions, 0 deletions