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

Method releasePCB

lab8/src/7/src/kernel/program.cpp:166–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void ProgramManager::releasePCB(PCB *program)
167{
168 int index = ((int)program - (int)PCB_SET) / PCB_SIZE;
169 PCB_SET_STATUS[index] = false;
170}
171
172void ProgramManager::MESA_WakeUp(PCB *program)
173{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected