MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / clear

Method clear

Libraries/Process/Process.cpp:93–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 return ResultProcess(true);
92}
93
94void SC::ProcessChain::ProcessLinkedList::clear()
95{
96 Process* current = front;
97 while (current != nullptr)
98 {
99 Process* next = current->next;
100 current->next = nullptr;
101 current->prev = nullptr;
102 current = next;
103 }
104 back = nullptr;
105 front = nullptr;
106}
107
108void SC::ProcessChain::ProcessLinkedList::queueBack(Process& process)

Callers 3

app.jsFile · 0.45
waitForExitSyncMethod · 0.45
serializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected