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:
parent
488f3fb86a
commit
82d9e19758
@ -88,6 +88,7 @@ public:
|
|||||||
~Thread();
|
~Thread();
|
||||||
|
|
||||||
inline thread_id ID() const;
|
inline thread_id ID() const;
|
||||||
|
inline const char* Name() const;
|
||||||
|
|
||||||
inline void SetDeletionTime(bigtime_t time);
|
inline void SetDeletionTime(bigtime_t time);
|
||||||
|
|
||||||
@ -144,6 +145,13 @@ Model::Thread::ID() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const char*
|
||||||
|
Model::Thread::Name() const
|
||||||
|
{
|
||||||
|
return fCreationEvent->name;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Model::Thread::SetDeletionTime(bigtime_t time)
|
Model::Thread::SetDeletionTime(bigtime_t time)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user