mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-25 22:21:14 +00:00
15 lines
397 B
C++
15 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;
|
||
|
}
|
||
|
|
||
|
}
|