Merge pull request #4461 from comex/thread-names

Fix thread naming on Linux, which limits names to 15 bytes.
This commit is contained in:
LC 2020-08-31 15:31:48 -04:00 committed by GitHub
commit b5ed2d408c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View file

@ -328,7 +328,7 @@ void CpuManager::RunThread(std::size_t core) {
system.RegisterCoreThread(core);
std::string name;
if (is_multicore) {
name = "yuzu:CoreCPUThread_" + std::to_string(core);
name = "yuzu:CPUCore_" + std::to_string(core);
} else {
name = "yuzu:CPUThread";
}