MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / WindowThread

Method WindowThread

src/Nazara/Platform/X11/WindowImpl.cpp:1554–1567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1552 }
1553
1554 void WindowImpl::WindowThread(WindowImpl* window, Mutex* mutex, ConditionVariable* condition)
1555 {
1556 mutex->Lock();
1557 condition->Signal();
1558 mutex->Unlock(); // mutex and condition may be destroyed after this line
1559
1560 if (!window->m_window)
1561 return;
1562
1563 while (window->m_threadActive)
1564 window->ProcessEvents(true);
1565
1566 window->Destroy();
1567 }
1568}

Callers

nothing calls this directly

Calls 5

LockMethod · 0.45
SignalMethod · 0.45
UnlockMethod · 0.45
ProcessEventsMethod · 0.45
DestroyMethod · 0.45

Tested by

no test coverage detected