MCPcopy Create free account
hub / github.com/YatSenOS/YatSenOS-Tutorial-Volume-1 / MESA_WakeUp

Method MESA_WakeUp

lab7/src/5/src/kernel/program.cpp:149–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void ProgramManager::MESA_WakeUp(PCB *program) {
150 program->status = ProgramStatus::READY;
151 //printf("wake up program, pid: %d\n", program->pid);
152 readyPrograms.push_front(&(program->tagInGeneralList));
153}

Callers 1

VMethod · 0.45

Calls 1

push_frontMethod · 0.45

Tested by

no test coverage detected