summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-04-13 10:47:12 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-04-13 21:04:09 +0200
commitd137ccbfc8e869277d96759a114cfe83f5f83657 (patch)
tree0991348703862d5ae4749f9d22f968e262b98fcb /modules
parentb4060614c23cb1c39d89c58ec17bcf779611a2cb (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 'modules')
0 files changed, 0 insertions, 0 deletions