|
|
|
@ -49,7 +49,7 @@ void Scheduler::kill(Thread* that) {
|
|
|
|
for(uint8_t i=0;i<Core::MAX; i++)
|
|
|
|
for(uint8_t i=0;i<Core::MAX; i++)
|
|
|
|
if(dispatcher.lifePointer[i] == that){
|
|
|
|
if(dispatcher.lifePointer[i] == that){
|
|
|
|
LAPIC::IPI::send(i, Core::Interrupt::Vector::ASSASSIN);
|
|
|
|
LAPIC::IPI::send(i, Core::Interrupt::Vector::ASSASSIN);
|
|
|
|
DBG << "found thread on Core << dec << static_cast<int>(i) << "! killing...\n" << flush;
|
|
|
|
DBG << "found thread on Core" << dec << static_cast<int>(i) << "! killing...\n" << flush;
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|