3 ms·
Isn't there still an event loop internally though even with callbacks?
by grishka 6y ago
Isn't there still an event loop internally though even with callbacks?
- rightbyte 6y agoI 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.