Dbg:Threading: use pthread_setname_np for debugging ease

This commit is contained in:
2025-11-06 15:04:04 -04:00
parent af57c4dfd1
commit c7e117b08e
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -45,6 +45,7 @@ const std::shared_ptr<ComponentThread> ComponentThread::getSelf(void)
void MindThread::main(MindThread& self)
{
pthread_setname_np(pthread_self(), self.name.c_str());
if (OptionParser::getOptions().verbose)
{