comex 2ba35cab73 Fix thread naming on Linux, which limits names to 15 bytes.
- In `SetCurrentThreadName`, when on Linux, truncate to 15 bytes, as (at
  least on glibc) `pthread_set_name_np` will otherwise return `ERANGE` and
  do nothing.
- Also, add logging in case `pthread_set_name_np` returns an error
  anyway.  This is Linux-specific, as the Apple and BSD versions of
  `pthread_set_name_np return `void`.
- Change the name for CPU threads in multi-core mode from
  "yuzu:CoreCPUThread_N" (19 bytes) to "yuzu:CPUCore_N" (14 bytes) so it
  fits into the Linux limit.  Some other thread names are also cut off,
  but I didn't bother addressing them as you can guess them from the
  truncated versions.  For a CPU thread, truncation means you can't see
  which core it is!
2020-09-03 03:15:14 +02:00
..
2018-09-06 16:03:28 -04:00
2018-09-06 16:03:28 -04:00
2020-05-01 08:23:59 -04:00
2020-03-29 16:14:36 +01:00
2018-10-20 10:35:55 -04:00
2018-09-06 16:03:28 -04:00
2020-01-15 19:58:33 -07:00
2019-03-10 19:18:09 -05:00
2018-09-06 00:00:21 +02:00