meso: KPort mini skeleton

This commit is contained in:
TuxSH
2018-11-12 14:52:57 +01:00
committed by Michael Scire
parent acf32f841c
commit 173bde2eca
6 changed files with 161 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#include <mesosphere/processes/KPort.hpp>
#include <mesosphere/threading/KScopedCriticalSection.hpp>
#include <mesosphere/threading/KThread.hpp>
#include <mesosphere/core/KCoreContext.hpp>
namespace mesosphere
{
KServerPort::~KServerPort()
{
KScopedCriticalSection critsec{};
parent->isServerAlive = false;
}
bool KServerPort::IsSignaled() const
{
return false; // TODO
}
}