20#include "pedigree/kernel/process/PerProcessorScheduler.h"
21#include "pedigree/kernel/process/ProcessorThreadAllocator.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"
29ProcessorThreadAllocator::ProcessorThreadAllocator() : m_pAlgorithm(0) {}
31ProcessorThreadAllocator::~ProcessorThreadAllocator() {
36 void* pParam,
bool bUsermode,
void* pStack) {
39 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)
void threadRemoved(Thread *pThread)
static Scheduler & instance()
void addThread(Thread *pThread, PerProcessorScheduler &PPSched)
int(* ThreadStartFunc)(void *)