Added handy ThreadWaitObject getters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30428 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -155,6 +155,11 @@ public:
|
||||
|
||||
inline WaitObject* GetWaitObject() const;
|
||||
|
||||
inline uint32 Type() const;
|
||||
inline addr_t Object() const;
|
||||
inline const char* Name() const;
|
||||
inline addr_t ReferencedObject();
|
||||
|
||||
void AddWait(bigtime_t waitTime);
|
||||
|
||||
private:
|
||||
@@ -459,6 +464,34 @@ Model::ThreadWaitObject::GetWaitObject() const
|
||||
}
|
||||
|
||||
|
||||
uint32
|
||||
Model::ThreadWaitObject::Type() const
|
||||
{
|
||||
return fWaitObject->Type();
|
||||
}
|
||||
|
||||
|
||||
addr_t
|
||||
Model::ThreadWaitObject::Object() const
|
||||
{
|
||||
return fWaitObject->Object();
|
||||
}
|
||||
|
||||
|
||||
const char*
|
||||
Model::ThreadWaitObject::Name() const
|
||||
{
|
||||
return fWaitObject->Name();
|
||||
}
|
||||
|
||||
|
||||
addr_t
|
||||
Model::ThreadWaitObject::ReferencedObject()
|
||||
{
|
||||
return fWaitObject->ReferencedObject();
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark - ThreadWaitObjectGroup
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user