Files
yuzu-mainline/src/common
comex d37f0b29e2 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-08-05 20:34:49 -07:00
..
2020-06-27 18:20:06 -04:00
2019-11-23 01:30:06 +01:00
2020-04-24 09:33:04 +02:00
2018-10-02 16:04:10 +02:00
2020-06-27 18:20:06 -04:00
2020-06-27 18:20:06 -04:00
2020-06-27 18:20:06 -04:00
2020-07-14 16:26:54 -04:00
2019-04-25 08:07:57 -04:00