MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / UnblockThread

Function UnblockThread

Kernel/src/arch/x86_64/scheduler.cpp:476–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474 }
475
476 void UnblockThread(thread_t* thread){
477 acquireLock(&thread->stateLock);
478 thread->state = ThreadStateRunning;
479 releaseLock(&thread->stateLock);
480
481 /*for(List<thread_t*>* l : thread->waiting){
482 l->remove(thread);
483 }*/
484 }
485
486 void Tick(regs64_t* r){
487 if(!schedulerReady) return;

Callers 7

WriteMethod · 0.85
EndProcessFunction · 0.85
SysFutexWakeFunction · 0.85
HandlerFunction · 0.85
Master_WriteMethod · 0.85
OnInterruptMethod · 0.85
SignalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected