20#ifndef _PROCESSOR_THREAD_ALLOCATOR_H
21#define _PROCESSOR_THREAD_ALLOCATOR_H
23#include "pedigree/kernel/process/Thread.h"
24#include "pedigree/kernel/processor/state_forward.h"
43 bool bUsermode,
void* pStack);
54 m_pAlgorithm = pAlgorithm;
void addThread(Thread *pThread, Thread::ThreadStartFunc pStartFunction, void *pParam, bool bUsermode, void *pStack)
void setAlgorithm(ThreadToCoreAllocationAlgorithm *pAlgorithm)
Sets the algorithm to use for allocating threads to cores.
void threadRemoved(Thread *pThread)
int(* ThreadStartFunc)(void *)