MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / ~GenericQ

Method ~GenericQ

util/GenericQ.cpp:36–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36GenericQ::~GenericQ(void)
37{
38 deadYet = 1;
39 release();
40 mutex.lock(false);
41 if(start != NULL)
42 {
43 Entry *temp;
44 do
45 {
46 temp = start->next; delete start; start = temp;
47 } while(start != NULL);
48 }
49 mutex.unlock(false);
50}
51
52
53void GenericQ::release(void)

Callers

nothing calls this directly

Calls 3

releaseFunction · 0.50
lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected