Merge pull request #4461 from comex/thread-names
Fix thread naming on Linux, which limits names to 15 bytes.
This commit is contained in:
commit
b5ed2d408c
2 changed files with 13 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue