Atmosphere/mesosphere/source/processes/KProcess.cpp
2019-06-03 17:41:00 -07:00

14 lines
397 B
C++

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