Removing useless func IsAlive, since it's handled by ISetAllocated
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -9,18 +9,12 @@ KEvent::~KEvent()
|
||||
{
|
||||
}
|
||||
|
||||
bool KEvent::IsAlive() const
|
||||
{
|
||||
return isInitialized;
|
||||
}
|
||||
|
||||
Result KEvent::Initialize()
|
||||
{
|
||||
SetClientServerParent();
|
||||
SetResourceOwner(KCoreContext::GetCurrentInstance().GetCurrentProcess());
|
||||
isInitialized = true;
|
||||
|
||||
return ResultSuccess();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,11 +9,6 @@
|
||||
namespace mesosphere
|
||||
{
|
||||
|
||||
bool KThread::IsAlive() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void KThread::OnAlarm()
|
||||
{
|
||||
CancelKernelSync();
|
||||
|
||||
Reference in New Issue
Block a user