4 ms·
multiple competing event loops for instance Fortunately Windows has implemented message-passing event loops for you for a couple of decades. And they're pleasa
by pjc50 12y ago
multiple competing event loops for instance
Fortunately Windows has implemented message-passing event loops for you for a couple of decades. And they're pleasant to work with as long as you don't mind everything being a WPARAM/LPARAM.
- nbevans 12y agoThose type of event loops are for Win32 API GUI applications. Server applications like a async socket server use IOCP, a kernel based type of event loop that is highly performant and scalable. And by the way, the .NET CLR already uses them at its core for sockets and other types of I/O.