Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YatSenOS/YatSenOS-Tutorial-Volume-1
/ releasePCB
Method
releasePCB
lab6/src/1/src/kernel/program.cpp:141–145 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
139
}
140
141
void ProgramManager::releasePCB(PCB *program)
142
{
143
int index = ((int)program - (int)PCB_SET) / PCB_SIZE;
144
PCB_SET_STATUS[index] = false;
145
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected