3 ms·
I guess there need to be one somewhere unless you do hardware interrupts. It seems to have an event loop though: void app::run() { MSG messages;
by rightbyte 6y ago
I guess there need to be one somewhere unless you do hardware interrupts.
It seems to have an event loop though:
void app::run()
{
MSG messages;
while (_running && GetMessage(&messages, nullptr, 0, 0) > 0)
{
TranslateMessage(&messages);
DispatchMessage(&messages);
}
}
- ChrisSD 6y agoNOTE: That is the classic Win32 event loop.