Added internal thread name support, for use with debuggers.

This commit is contained in:
Alex Szpakowski
2014-05-02 08:56:23 -03:00
parent e4dc533bb2
commit 1bc8b7346d
5 changed files with 16 additions and 1 deletions
+5
View File
@@ -99,5 +99,10 @@ bool Threadable::isRunning() const
return owner->isRunning();
}
const char *Threadable::getThreadName() const
{
return threadName.empty() ? nullptr : threadName.c_str();
}
} // thread
} // love