The Basic Idea: An Event Loop
This lesson discusses the basic idea behind the event loop.
We'll cover the following...
We'll cover the following...
The basic approach we’ll use, as stated in the last lesson, is called event-based concurrency. The approach is quite simple: you simply wait for something (i.e., an “event”) to occur; when it does, you check what type of event it is and do the small amount of work it ...