Is an event loop just a for/while loop with optimized polling?
- by Alan
I'm trying to understand what an event loop is. Often the explanation is that in the event loop, you do something until you're notified that an event occurred. You than handle the event and continue doing what you did before.
To map the above definition with an example. I have a server which 'listens' in a event loop, and when a socket connection…