MCPcopy Create free account
hub / github.com/XpuOS/xsched / ProcessTerminate

Method ProcessTerminate

service/server/src/server.cpp:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void Server::ProcessTerminate(PID pid)
169{
170 auto e = std::make_shared<ProcessDestroyEvent>(pid);
171 scheduler_->RecvEvent(e);
172 this->CleanUpProcess(pid);
173 ipc::Channel::Remove((ipc::ChannelKey)pid);
174}
175
176void Server::SendHint(std::shared_ptr<const sched::Hint> hint)
177{

Callers

nothing calls this directly

Calls 2

CleanUpProcessMethod · 0.95
RecvEventMethod · 0.45

Tested by

no test coverage detected