News for hackers. Stuff that matters.
Re:PumpkinOS, a Re-Implementation of PalmOS by kjs3 on Monday April 08, 2024 @02:39PM (#39972530)
I recall there was an Ada X11 server (Mitre?) that used tasks instead of a single event loop, although they may have been papering over an event loop underneath.
Re:PumpkinOS, a Re-Implementation of PalmOS by p_l on Tuesday April 09, 2024 @08:30AM (#39978707)
X11 server side is a bit different case - generally you control all message flows there in custom way.

The windows message loop is essentially something you can create per thread, and "GUI" programs have one initialized for them (thus WinMain instead of main in C).

But you need no special work to create more threads with more loops, in fact making every top-level window a separate thread is trivial (doing it for sub-windows like widgets might be slightly more complex though).