2 ms·
> It inherits it from Windows. As far as I know, most GUIs have a dispatcher because <technical reasons>. This is a kind of lame elision. The classical Window
by asveikau 11y ago
> It inherits it from Windows. As far as I know, most GUIs have a dispatcher because <technical reasons>.
This is a kind of lame elision. The classical Windows UI threading model is that every window has an owning thread [the thread it was created on], and that owning thread is supposed to drain its message queue periodically. You can send messages to another thread's object [either in blocking, via SendMessage, or enqueue without blocking for result, via PostMessage].