Add mesosphere (VERY VERY WIP)
This commit is contained in:
14
mesosphere/source/processes/KProcess.cpp
Normal file
14
mesosphere/source/processes/KProcess.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <mesosphere/processes/KProcess.hpp>
|
||||
#include <mesosphere/threading/KThread.hpp>
|
||||
#include <mesosphere/kresources/KResourceLimit.hpp>
|
||||
|
||||
namespace mesosphere
|
||||
{
|
||||
|
||||
void KProcess::SetLastThreadAndIdleSelectionCount(KThread *thread, ulong idleSelectionCount)
|
||||
{
|
||||
lastThreads[thread->GetCurrentCoreId()] = thread;
|
||||
lastIdleSelectionCount[thread->GetCurrentCoreId()] = idleSelectionCount;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user