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

This commit is contained in:
TuxSH
2018-11-07 01:16:35 +01:00
committed by Michael Scire
parent 5222b429c5
commit 40b860c239
11 changed files with 1 additions and 36 deletions

View File

@@ -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;
}
}

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();
}
}
}

View File

@@ -9,11 +9,6 @@
namespace mesosphere
{
bool KThread::IsAlive() const
{
return true;
}
void KThread::OnAlarm()
{
CancelKernelSync();