merge bitcoin#16984: Make thread names shorter

This commit is contained in:
Kittywhiskers Van Gogh 2019-09-29 21:49:35 +03:00
parent ac4dc7f4a6
commit adc3f0478c

View File

@ -57,7 +57,7 @@ static void SetInternalName(std::string name) { }
void util::ThreadRename(std::string&& name) void util::ThreadRename(std::string&& name)
{ {
SetThreadName(("dash-" + name).c_str()); SetThreadName(("d-" + name).c_str());
SetInternalName(std::move(name)); SetInternalName(std::move(name));
} }