MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / Destroy

Method Destroy

Kernel/src/objects/interface.cpp:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void MessageInterface::Destroy(){
21 active = false;
22
23 for(auto& i : incoming){
24 i->item1 = -1;
25 }
26}
27
28long MessageInterface::Accept(FancyRefPtr<MessageEndpoint>& endpoint){
29 acquireLock(&incomingLock);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected