20 #include "pedigree/kernel/process/ProcessorThreadAllocator.h" 21 #include "pedigree/kernel/process/PerProcessorScheduler.h" 22 #include "pedigree/kernel/process/Scheduler.h" 23 #include "pedigree/kernel/process/Thread.h" 24 #include "pedigree/kernel/process/ThreadToCoreAllocationAlgorithm.h" 25 #include "pedigree/kernel/utilities/new" 29 ProcessorThreadAllocator::ProcessorThreadAllocator() : m_pAlgorithm(0)
33 ProcessorThreadAllocator::~ProcessorThreadAllocator()
40 bool bUsermode,
void *pStack)
44 pSchedule->
addThread(pThread, pStartFunction, pParam, bUsermode, pStack);
void addThread(Thread *pThread, Thread::ThreadStartFunc pStartFunction, void *pParam, bool bUsermode, void *pStack)
void addThread(Thread *pThread, Thread::ThreadStartFunc pStartFunction, void *pParam, bool bUsermode, void *pStack)
static Scheduler & instance()
void threadRemoved(Thread *pThread)
int(* ThreadStartFunc)(void *)
void addThread(Thread *pThread, PerProcessorScheduler &PPSched)