Atmosphere/mesosphere/source/processes/KProcess.cpp

15 lines
397 B
C++
Raw Normal View History

2018-10-31 16:47:31 -04:00
#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;
}
}