Added Thread::Name() getter.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30314 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-04-22 00:23:29 +00:00
parent 488f3fb86a
commit 82d9e19758

View File

@ -88,6 +88,7 @@ public:
~Thread();
inline thread_id ID() const;
inline const char* Name() const;
inline void SetDeletionTime(bigtime_t time);
@ -144,6 +145,13 @@ Model::Thread::ID() const
}
const char*
Model::Thread::Name() const
{
return fCreationEvent->name;
}
void
Model::Thread::SetDeletionTime(bigtime_t time)
{