Removing useless func IsAlive, since it's handled by ISetAllocated

This commit is contained in:
TuxSH authored and Michael Scire committed 2019-06-03 17:41:05 -07:00
1 parent 5222b429c5
commit 40b860c239
11 files changed
+1 -36

No files matched your search

@@ -13,13 +13,7 @@ Result KInterruptEvent::Initialize(int irqId, u32 flags)
// TODO implement
(void)flags;
this->irqId = irqId;
isInitialized = true;
return ResultSuccess();
}
bool KInterruptEvent::IsAlive() const
{
return isInitialized;
}
}
+1 -7
View File
@@ -9,18 +9,12 @@ KEvent::~KEvent()
{
}
bool KEvent::IsAlive() const
{
return isInitialized;
}
Result KEvent::Initialize()
{
SetClientServerParent();
SetResourceOwner(KCoreContext::GetCurrentInstance().GetCurrentProcess());
isInitialized = true;
return ResultSuccess();
}
}
}
-5
View File
@@ -9,11 +9,6 @@
namespace mesosphere
{
bool KThread::IsAlive() const
{
return true;
}
void KThread::OnAlarm()
{
CancelKernelSync();