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

Callers 3

app.jsFile · 0.45
waitForExitSyncMethod · 0.45
serializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected