Re:Ask HN: Has anyone fully embraced an event-driven archite...
by ThinkBeat on Thursday August 05, 2021 @08:38PM
(#28081916)
I am not sure about Windows95, but the MSDOS legacy is single threaded, so you did not have the luxury of having the abstraction represented for you by the operating system.
Some people wrote very inventive software to get around it.
In Windows there is a fundamental concept of the message loop.
The message loop is an obligatory section of code in every program that uses a graphical user interface under Microsoft Windows.
Windows programs that have a GUI are event-driven.
Note that WindowsNT is fully multithreaded, but there is a
thread sitting there listening to the event loop still.
(of course other threads can do other things).
Some people wrote very inventive software to get around it.
In Windows there is a fundamental concept of the message loop.
The message loop is an obligatory section of code in every program that uses a graphical user interface under Microsoft Windows.
Windows programs that have a GUI are event-driven.
Note that WindowsNT is fully multithreaded, but there is a thread sitting there listening to the event loop still. (of course other threads can do other things).
https://en.wikipedia.org/wiki/Message_loop_in_Microsoft_Wind...