| 167 | } |
| 168 | |
| 169 | void ProgramManager::releasePCB(PCB *program) |
| 170 | { |
| 171 | int index = ((int)program - (int)PCB_SET) / PCB_SIZE; |
| 172 | PCB_SET_STATUS[index] = false; |
| 173 | this->allPrograms.erase(&(program->tagInAllList)); |
| 174 | } |
| 175 | |
| 176 | void ProgramManager::MESA_WakeUp(PCB *program) |
| 177 | { |