MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / shutdown

Method shutdown

common/frameut.cpp:352–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350 }
351
352 void shutdown(void)
353 {
354 deadYet = true;
355 int i;
356 for(i = 0; i < NFRAMES; i++)
357 frames[i].signalReady(); // Release my thread
358 if(thread)
359 {
360 thread->stop(); delete thread; thread = NULL;
361 }
362 for(i = 0; i < NFRAMES; i++)
363 frames[i].signalComplete(); // Release main thread
364 }
365
366 private:
367

Callers

nothing calls this directly

Calls 3

signalReadyMethod · 0.80
signalCompleteMethod · 0.80
stopMethod · 0.45

Tested by

no test coverage detected