MCPcopy Create free account
hub / github.com/comaps/comaps / StopThread

Method StopThread

libs/drape_frontend/base_renderer.cpp:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void BaseRenderer::StopThread()
47{
48 // stop rendering and close queue
49 m_selfThread.GetRoutine()->Cancel();
50 CloseQueue();
51
52 // wake up render thread if necessary
53 if (!m_isEnabled)
54 WakeUp();
55
56 // wait for render thread completion
57 m_selfThread.Join();
58}
59
60void BaseRenderer::IterateRenderLoop()
61{

Callers

nothing calls this directly

Calls 3

GetRoutineMethod · 0.80
CancelMethod · 0.45
JoinMethod · 0.45

Tested by

no test coverage detected